Trait dynec::comp::SimpleOrIsotope
source · pub trait SimpleOrIsotope<A: Archetype>: Referrer + Send + Sync + Sized + 'static {
type Storage: Storage<RawEntity = A::RawEntity, Comp = Self>;
const PRESENCE: Presence;
const INIT_STRATEGY: InitStrategy<A, Self>;
}
Expand description
The common items for a simple or isotope component.
Required Associated Types§
Required Associated Constants§
sourceconst INIT_STRATEGY: InitStrategy<A, Self>
const INIT_STRATEGY: InitStrategy<A, Self>
The initialization strategy for this component.
Object Safety§
This trait is not object safe.