Struct specs::saveload::EntityData [−][src]
pub struct EntityData<M, D> { pub marker: M, pub components: D, }
A struct used for deserializing entity data.
Fields
marker: M
The marker the entity was mapped to.
components: D
The components associated with an entity.
Auto Trait Implementations
impl<M, D> Send for EntityData<M, D> where
D: Send,
M: Send,
impl<M, D> Send for EntityData<M, D> where
D: Send,
M: Send,
impl<M, D> Sync for EntityData<M, D> where
D: Sync,
M: Sync,
impl<M, D> Sync for EntityData<M, D> where
D: Sync,
M: Sync,