[][src]Trait basin2_data::entities::EntityTypeData

pub trait EntityTypeData: Send + Sync + Debug + 'static {
    fn parse(&self, nbt: &Nbt) -> Result<Box<dyn EntityData>>;
fn serialize(&self, data: &dyn EntityData) -> Result<Nbt>; }

Required methods

fn parse(&self, nbt: &Nbt) -> Result<Box<dyn EntityData>>

fn serialize(&self, data: &dyn EntityData) -> Result<Nbt>

Loading content...

Implementations on Foreign Types

impl EntityTypeData for ()[src]

Loading content...

Implementors

Loading content...