Trait mc_core::entity::EntityComponent[][src]

pub trait EntityComponent {
    const CODEC: &'static dyn EntityCodec;
}
Expand description

A trait to implement to component structures that support a codec, this is used by entities! macro in order to reduce boilerplate.

Associated Constants

Implementors