Struct veloren_common_net::synced_components::inner::body::bird_large::species::Cases
pub struct Cases<Elim>where
Elim: PackedElim,{
pub Phoenix: <Elim as PackedElim>::Phoenix,
pub Cockatrice: <Elim as PackedElim>::Cockatrice,
pub Roc: <Elim as PackedElim>::Roc,
pub FlameWyvern: <Elim as PackedElim>::FlameWyvern,
pub CloudWyvern: <Elim as PackedElim>::CloudWyvern,
pub FrostWyvern: <Elim as PackedElim>::FrostWyvern,
pub SeaWyvern: <Elim as PackedElim>::SeaWyvern,
pub WealdWyvern: <Elim as PackedElim>::WealdWyvern,
}
Fields§
§Phoenix: <Elim as PackedElim>::Phoenix
§Cockatrice: <Elim as PackedElim>::Cockatrice
§Roc: <Elim as PackedElim>::Roc
§FlameWyvern: <Elim as PackedElim>::FlameWyvern
§CloudWyvern: <Elim as PackedElim>::CloudWyvern
§FrostWyvern: <Elim as PackedElim>::FrostWyvern
§SeaWyvern: <Elim as PackedElim>::SeaWyvern
§WealdWyvern: <Elim as PackedElim>::WealdWyvern
Trait Implementations§
§impl<'de, Elim> Deserialize<'de> for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Phoenix: Deserialize<'de>,
<Elim as PackedElim>::Cockatrice: Deserialize<'de>,
<Elim as PackedElim>::Roc: Deserialize<'de>,
<Elim as PackedElim>::FlameWyvern: Deserialize<'de>,
<Elim as PackedElim>::CloudWyvern: Deserialize<'de>,
<Elim as PackedElim>::FrostWyvern: Deserialize<'de>,
<Elim as PackedElim>::SeaWyvern: Deserialize<'de>,
<Elim as PackedElim>::WealdWyvern: Deserialize<'de>,
impl<'de, Elim> Deserialize<'de> for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Phoenix: Deserialize<'de>,
<Elim as PackedElim>::Cockatrice: Deserialize<'de>,
<Elim as PackedElim>::Roc: Deserialize<'de>,
<Elim as PackedElim>::FlameWyvern: Deserialize<'de>,
<Elim as PackedElim>::CloudWyvern: Deserialize<'de>,
<Elim as PackedElim>::FrostWyvern: Deserialize<'de>,
<Elim as PackedElim>::SeaWyvern: Deserialize<'de>,
<Elim as PackedElim>::WealdWyvern: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Cases<Elim>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Cases<Elim>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<Elim> Serialize for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Phoenix: Serialize,
<Elim as PackedElim>::Cockatrice: Serialize,
<Elim as PackedElim>::Roc: Serialize,
<Elim as PackedElim>::FlameWyvern: Serialize,
<Elim as PackedElim>::CloudWyvern: Serialize,
<Elim as PackedElim>::FrostWyvern: Serialize,
<Elim as PackedElim>::SeaWyvern: Serialize,
<Elim as PackedElim>::WealdWyvern: Serialize,
impl<Elim> Serialize for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Phoenix: Serialize,
<Elim as PackedElim>::Cockatrice: Serialize,
<Elim as PackedElim>::Roc: Serialize,
<Elim as PackedElim>::FlameWyvern: Serialize,
<Elim as PackedElim>::CloudWyvern: Serialize,
<Elim as PackedElim>::FrostWyvern: Serialize,
<Elim as PackedElim>::SeaWyvern: Serialize,
<Elim as PackedElim>::WealdWyvern: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl<'a, 'b, Elim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
Elim: PackedElim,
&'b <Elim as PackedElim>::Phoenix: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Cockatrice: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Roc: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::FlameWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::CloudWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::FrostWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::SeaWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::WealdWyvern: Typed<Context, Type, S>,
impl<'a, 'b, Elim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
Elim: PackedElim,
&'b <Elim as PackedElim>::Phoenix: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Cockatrice: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Roc: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::FlameWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::CloudWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::FrostWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::SeaWyvern: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::WealdWyvern: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::Phoenix: Freeze,
<Elim as PackedElim>::Cockatrice: Freeze,
<Elim as PackedElim>::Roc: Freeze,
<Elim as PackedElim>::FlameWyvern: Freeze,
<Elim as PackedElim>::CloudWyvern: Freeze,
<Elim as PackedElim>::FrostWyvern: Freeze,
<Elim as PackedElim>::SeaWyvern: Freeze,
<Elim as PackedElim>::WealdWyvern: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Phoenix: RefUnwindSafe,
<Elim as PackedElim>::Cockatrice: RefUnwindSafe,
<Elim as PackedElim>::Roc: RefUnwindSafe,
<Elim as PackedElim>::FlameWyvern: RefUnwindSafe,
<Elim as PackedElim>::CloudWyvern: RefUnwindSafe,
<Elim as PackedElim>::FrostWyvern: RefUnwindSafe,
<Elim as PackedElim>::SeaWyvern: RefUnwindSafe,
<Elim as PackedElim>::WealdWyvern: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::Phoenix: Send,
<Elim as PackedElim>::Cockatrice: Send,
<Elim as PackedElim>::Roc: Send,
<Elim as PackedElim>::FlameWyvern: Send,
<Elim as PackedElim>::CloudWyvern: Send,
<Elim as PackedElim>::FrostWyvern: Send,
<Elim as PackedElim>::SeaWyvern: Send,
<Elim as PackedElim>::WealdWyvern: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::Phoenix: Sync,
<Elim as PackedElim>::Cockatrice: Sync,
<Elim as PackedElim>::Roc: Sync,
<Elim as PackedElim>::FlameWyvern: Sync,
<Elim as PackedElim>::CloudWyvern: Sync,
<Elim as PackedElim>::FrostWyvern: Sync,
<Elim as PackedElim>::SeaWyvern: Sync,
<Elim as PackedElim>::WealdWyvern: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::Phoenix: Unpin,
<Elim as PackedElim>::Cockatrice: Unpin,
<Elim as PackedElim>::Roc: Unpin,
<Elim as PackedElim>::FlameWyvern: Unpin,
<Elim as PackedElim>::CloudWyvern: Unpin,
<Elim as PackedElim>::FrostWyvern: Unpin,
<Elim as PackedElim>::SeaWyvern: Unpin,
<Elim as PackedElim>::WealdWyvern: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Phoenix: UnwindSafe,
<Elim as PackedElim>::Cockatrice: UnwindSafe,
<Elim as PackedElim>::Roc: UnwindSafe,
<Elim as PackedElim>::FlameWyvern: UnwindSafe,
<Elim as PackedElim>::CloudWyvern: UnwindSafe,
<Elim as PackedElim>::FrostWyvern: UnwindSafe,
<Elim as PackedElim>::SeaWyvern: UnwindSafe,
<Elim as PackedElim>::WealdWyvern: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more