Struct legion::serialize::DeserializeIntoWorld[][src]

pub struct DeserializeIntoWorld<'a, W: WorldDeserializer, E: EntitySerializer> {
    pub world: &'a mut World,
    pub world_deserializer: &'a W,
    pub entity_serializer: &'a E,
}

Wraps a WorldDeserializer and a world and implements serde::DeserializeSeed for deserializing into the world.

Fields

world: &'a mut World

The World to deserialize into.

world_deserializer: &'a W

The WorldDeserializer to use.

entity_serializer: &'a E

The EntitySerializer to use.

Trait Implementations

impl<'a, 'de, W: WorldDeserializer, E: EntitySerializer> DeserializeSeed<'de> for DeserializeIntoWorld<'a, W, E>[src]

type Value = ()

The type produced by using this seed.

Auto Trait Implementations

impl<'a, W, E> !RefUnwindSafe for DeserializeIntoWorld<'a, W, E>

impl<'a, W, E> Send for DeserializeIntoWorld<'a, W, E> where
    E: Sync,
    W: Sync

impl<'a, W, E> Sync for DeserializeIntoWorld<'a, W, E> where
    E: Sync,
    W: Sync

impl<'a, W, E> Unpin for DeserializeIntoWorld<'a, W, E>

impl<'a, W, E> !UnwindSafe for DeserializeIntoWorld<'a, W, E>

Blanket Implementations

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

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

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

impl<T> Downcast for T where
    T: Any
[src]

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.