Trait nbt_lib::traits::AsNbtValue
source · pub trait AsNbtValue {
// Required method
fn as_nbt_value(&self) -> Result<NbtValue, ()>;
}Expand description
A trait, that allowes to convert the struct to the nbt representation