Trait nbt_lib::traits::FromNbtValue
source · pub trait FromNbtValue {
// Required method
fn from_nbt_value(value: NbtValue) -> Result<Self, ()>
where Self: Sized;
}Expand description
A trait, that allowes to convert the struct to the nbt representation