pub trait McsCodecGloss {
// Required methods
fn from_scene(scene: &Scene) -> Self;
fn to_entity_builders(&mut self, with_colors: bool) -> Vec<EntityBuilder>;
fn insert_into_scene(&mut self, scene: &mut Scene, with_colors: bool);
}Expand description
creates a Vec<gloss_hecs::EntityBuilder> from the McsCodec
Required Methods§
fn from_scene(scene: &Scene) -> Self
fn to_entity_builders(&mut self, with_colors: bool) -> Vec<EntityBuilder>
fn insert_into_scene(&mut self, scene: &mut Scene, with_colors: bool)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl McsCodecGloss for McsCodec
Trait implementation for McsCodec
impl McsCodecGloss for McsCodec
Trait implementation for McsCodec