Struct specs::saveload::EntityData [] [src]

pub struct EntityData<M, D> {
    pub marker: M,
    pub components: D,
}

A struct used for deserializing entity data.

Fields

The marker the entity was mapped to.

The components associated with an entity.

Trait Implementations

Auto Trait Implementations

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