Trait bevy_yoleck::prelude::YoleckComponent
source · pub trait YoleckComponent: Default + Clone + PartialEq + Component + Serialize + for<'a> Deserialize<'a> {
const KEY: &'static str;
}
Expand description
A component that Yoleck will write to and read from .yol
files.
Rather than being used for general ECS behavior definition, YoleckComponent
s should be used
for spawning the actual components using populate
systems.
Required Associated Constants§
Object Safety§
This trait is not object safe.