Struct veloren_common::comp::body::bird_large::species::Cases
source · pub struct Cases<Elim: PackedElim> {
pub Phoenix: Elim::Phoenix,
pub Cockatrice: Elim::Cockatrice,
pub Roc: Elim::Roc,
pub FlameWyvern: Elim::FlameWyvern,
pub CloudWyvern: Elim::CloudWyvern,
pub FrostWyvern: Elim::FrostWyvern,
pub SeaWyvern: Elim::SeaWyvern,
pub WealdWyvern: Elim::WealdWyvern,
}
Fields§
§Phoenix: Elim::Phoenix
§Cockatrice: Elim::Cockatrice
§Roc: Elim::Roc
§FlameWyvern: Elim::FlameWyvern
§CloudWyvern: Elim::CloudWyvern
§FrostWyvern: Elim::FrostWyvern
§SeaWyvern: Elim::SeaWyvern
§WealdWyvern: Elim::WealdWyvern
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::Phoenix: Deserialize<'de>,
Elim::Cockatrice: Deserialize<'de>,
Elim::Roc: Deserialize<'de>,
Elim::FlameWyvern: Deserialize<'de>,
Elim::CloudWyvern: Deserialize<'de>,
Elim::FrostWyvern: Deserialize<'de>,
Elim::SeaWyvern: Deserialize<'de>,
Elim::WealdWyvern: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::Phoenix: Deserialize<'de>,
Elim::Cockatrice: Deserialize<'de>,
Elim::Roc: Deserialize<'de>,
Elim::FlameWyvern: Deserialize<'de>,
Elim::CloudWyvern: Deserialize<'de>,
Elim::FrostWyvern: Deserialize<'de>,
Elim::SeaWyvern: Deserialize<'de>,
Elim::WealdWyvern: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<Elim: PackedElim> Serialize for Cases<Elim>where
Elim::Phoenix: Serialize,
Elim::Cockatrice: Serialize,
Elim::Roc: Serialize,
Elim::FlameWyvern: Serialize,
Elim::CloudWyvern: Serialize,
Elim::FrostWyvern: Serialize,
Elim::SeaWyvern: Serialize,
Elim::WealdWyvern: Serialize,
impl<Elim: PackedElim> Serialize for Cases<Elim>where
Elim::Phoenix: Serialize,
Elim::Cockatrice: Serialize,
Elim::Roc: Serialize,
Elim::FlameWyvern: Serialize,
Elim::CloudWyvern: Serialize,
Elim::FrostWyvern: Serialize,
Elim::SeaWyvern: Serialize,
Elim::WealdWyvern: Serialize,
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::Phoenix: Typed<Context, Type, S>,
&'b Elim::Cockatrice: Typed<Context, Type, S>,
&'b Elim::Roc: Typed<Context, Type, S>,
&'b Elim::FlameWyvern: Typed<Context, Type, S>,
&'b Elim::CloudWyvern: Typed<Context, Type, S>,
&'b Elim::FrostWyvern: Typed<Context, Type, S>,
&'b Elim::SeaWyvern: Typed<Context, Type, S>,
&'b Elim::WealdWyvern: Typed<Context, Type, S>,
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::Phoenix: Typed<Context, Type, S>,
&'b Elim::Cockatrice: Typed<Context, Type, S>,
&'b Elim::Roc: Typed<Context, Type, S>,
&'b Elim::FlameWyvern: Typed<Context, Type, S>,
&'b Elim::CloudWyvern: Typed<Context, Type, S>,
&'b Elim::FrostWyvern: Typed<Context, Type, S>,
&'b Elim::SeaWyvern: Typed<Context, Type, S>,
&'b Elim::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