Struct specs::saveload::EntityData [−][src]
pub struct EntityData<M, D> { pub marker: M, pub components: D, }
Expand description
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.
Trait Implementations
impl<'de, M, D> Deserialize<'de> for EntityData<M, D> where
M: Deserialize<'de>,
D: Deserialize<'de>,
[src]
impl<'de, M, D> Deserialize<'de> for EntityData<M, D> where
M: Deserialize<'de>,
D: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<M, D> RefUnwindSafe for EntityData<M, D> where
D: RefUnwindSafe,
M: RefUnwindSafe,
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> Unpin for EntityData<M, D> where
D: Unpin,
M: Unpin,
impl<M, D> UnwindSafe for EntityData<M, D> where
D: UnwindSafe,
M: UnwindSafe,