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

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.

Trait Implementations

impl<'de, M, D> Deserialize<'de> for EntityData<M, D> where
    M: Deserialize<'de>,
    D: Deserialize<'de>, 
[src]

impl<M, D> Serialize for EntityData<M, D> where
    M: Serialize,
    D: Serialize
[src]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,