Struct legion::serialize::DeserializeNewWorld[][src]

pub struct DeserializeNewWorld<'a, W: WorldDeserializer, E: EntitySerializer> {
    pub world_deserializer: &'a W,
    pub entity_serializer: &'a E,
}

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

Fields

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 DeserializeNewWorld<'a, W, E>[src]

type Value = World

The type produced by using this seed.

Auto Trait Implementations

impl<'a, W, E> RefUnwindSafe for DeserializeNewWorld<'a, W, E> where
    E: RefUnwindSafe,
    W: RefUnwindSafe

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

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

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

impl<'a, W, E> UnwindSafe for DeserializeNewWorld<'a, W, E> where
    E: RefUnwindSafe,
    W: RefUnwindSafe

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.