Struct veloren_common::comp::body::quadruped_low::species::Cases
source · pub struct Cases<Elim: PackedElim> {Show 24 fields
pub Crocodile: Elim::Crocodile,
pub Alligator: Elim::Alligator,
pub Salamander: Elim::Salamander,
pub Monitor: Elim::Monitor,
pub Asp: Elim::Asp,
pub Tortoise: Elim::Tortoise,
pub Pangolin: Elim::Pangolin,
pub Maneater: Elim::Maneater,
pub Sandshark: Elim::Sandshark,
pub Hakulaq: Elim::Hakulaq,
pub Lavadrake: Elim::Lavadrake,
pub Basilisk: Elim::Basilisk,
pub Deadwood: Elim::Deadwood,
pub Icedrake: Elim::Icedrake,
pub SeaCrocodile: Elim::SeaCrocodile,
pub Dagon: Elim::Dagon,
pub Rocksnapper: Elim::Rocksnapper,
pub Rootsnapper: Elim::Rootsnapper,
pub Reefsnapper: Elim::Reefsnapper,
pub Elbst: Elim::Elbst,
pub Mossdrake: Elim::Mossdrake,
pub Driggle: Elim::Driggle,
pub Snaretongue: Elim::Snaretongue,
pub Hydra: Elim::Hydra,
}
Fields§
§Crocodile: Elim::Crocodile
§Alligator: Elim::Alligator
§Salamander: Elim::Salamander
§Monitor: Elim::Monitor
§Asp: Elim::Asp
§Tortoise: Elim::Tortoise
§Pangolin: Elim::Pangolin
§Maneater: Elim::Maneater
§Sandshark: Elim::Sandshark
§Hakulaq: Elim::Hakulaq
§Lavadrake: Elim::Lavadrake
§Basilisk: Elim::Basilisk
§Deadwood: Elim::Deadwood
§Icedrake: Elim::Icedrake
§SeaCrocodile: Elim::SeaCrocodile
§Dagon: Elim::Dagon
§Rocksnapper: Elim::Rocksnapper
§Rootsnapper: Elim::Rootsnapper
§Reefsnapper: Elim::Reefsnapper
§Elbst: Elim::Elbst
§Mossdrake: Elim::Mossdrake
§Driggle: Elim::Driggle
§Snaretongue: Elim::Snaretongue
§Hydra: Elim::Hydra
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::Crocodile: Deserialize<'de>,
Elim::Alligator: Deserialize<'de>,
Elim::Salamander: Deserialize<'de>,
Elim::Monitor: Deserialize<'de>,
Elim::Asp: Deserialize<'de>,
Elim::Tortoise: Deserialize<'de>,
Elim::Pangolin: Deserialize<'de>,
Elim::Maneater: Deserialize<'de>,
Elim::Sandshark: Deserialize<'de>,
Elim::Hakulaq: Deserialize<'de>,
Elim::Lavadrake: Deserialize<'de>,
Elim::Basilisk: Deserialize<'de>,
Elim::Deadwood: Deserialize<'de>,
Elim::Icedrake: Deserialize<'de>,
Elim::SeaCrocodile: Deserialize<'de>,
Elim::Dagon: Deserialize<'de>,
Elim::Rocksnapper: Deserialize<'de>,
Elim::Rootsnapper: Deserialize<'de>,
Elim::Reefsnapper: Deserialize<'de>,
Elim::Elbst: Deserialize<'de>,
Elim::Mossdrake: Deserialize<'de>,
Elim::Driggle: Deserialize<'de>,
Elim::Snaretongue: Deserialize<'de>,
Elim::Hydra: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::Crocodile: Deserialize<'de>,
Elim::Alligator: Deserialize<'de>,
Elim::Salamander: Deserialize<'de>,
Elim::Monitor: Deserialize<'de>,
Elim::Asp: Deserialize<'de>,
Elim::Tortoise: Deserialize<'de>,
Elim::Pangolin: Deserialize<'de>,
Elim::Maneater: Deserialize<'de>,
Elim::Sandshark: Deserialize<'de>,
Elim::Hakulaq: Deserialize<'de>,
Elim::Lavadrake: Deserialize<'de>,
Elim::Basilisk: Deserialize<'de>,
Elim::Deadwood: Deserialize<'de>,
Elim::Icedrake: Deserialize<'de>,
Elim::SeaCrocodile: Deserialize<'de>,
Elim::Dagon: Deserialize<'de>,
Elim::Rocksnapper: Deserialize<'de>,
Elim::Rootsnapper: Deserialize<'de>,
Elim::Reefsnapper: Deserialize<'de>,
Elim::Elbst: Deserialize<'de>,
Elim::Mossdrake: Deserialize<'de>,
Elim::Driggle: Deserialize<'de>,
Elim::Snaretongue: Deserialize<'de>,
Elim::Hydra: 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::Crocodile: Serialize,
Elim::Alligator: Serialize,
Elim::Salamander: Serialize,
Elim::Monitor: Serialize,
Elim::Asp: Serialize,
Elim::Tortoise: Serialize,
Elim::Pangolin: Serialize,
Elim::Maneater: Serialize,
Elim::Sandshark: Serialize,
Elim::Hakulaq: Serialize,
Elim::Lavadrake: Serialize,
Elim::Basilisk: Serialize,
Elim::Deadwood: Serialize,
Elim::Icedrake: Serialize,
Elim::SeaCrocodile: Serialize,
Elim::Dagon: Serialize,
Elim::Rocksnapper: Serialize,
Elim::Rootsnapper: Serialize,
Elim::Reefsnapper: Serialize,
Elim::Elbst: Serialize,
Elim::Mossdrake: Serialize,
Elim::Driggle: Serialize,
Elim::Snaretongue: Serialize,
Elim::Hydra: Serialize,
impl<Elim: PackedElim> Serialize for Cases<Elim>where
Elim::Crocodile: Serialize,
Elim::Alligator: Serialize,
Elim::Salamander: Serialize,
Elim::Monitor: Serialize,
Elim::Asp: Serialize,
Elim::Tortoise: Serialize,
Elim::Pangolin: Serialize,
Elim::Maneater: Serialize,
Elim::Sandshark: Serialize,
Elim::Hakulaq: Serialize,
Elim::Lavadrake: Serialize,
Elim::Basilisk: Serialize,
Elim::Deadwood: Serialize,
Elim::Icedrake: Serialize,
Elim::SeaCrocodile: Serialize,
Elim::Dagon: Serialize,
Elim::Rocksnapper: Serialize,
Elim::Rootsnapper: Serialize,
Elim::Reefsnapper: Serialize,
Elim::Elbst: Serialize,
Elim::Mossdrake: Serialize,
Elim::Driggle: Serialize,
Elim::Snaretongue: Serialize,
Elim::Hydra: Serialize,
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::Crocodile: Typed<Context, Type, S>,
&'b Elim::Alligator: Typed<Context, Type, S>,
&'b Elim::Salamander: Typed<Context, Type, S>,
&'b Elim::Monitor: Typed<Context, Type, S>,
&'b Elim::Asp: Typed<Context, Type, S>,
&'b Elim::Tortoise: Typed<Context, Type, S>,
&'b Elim::Pangolin: Typed<Context, Type, S>,
&'b Elim::Maneater: Typed<Context, Type, S>,
&'b Elim::Sandshark: Typed<Context, Type, S>,
&'b Elim::Hakulaq: Typed<Context, Type, S>,
&'b Elim::Lavadrake: Typed<Context, Type, S>,
&'b Elim::Basilisk: Typed<Context, Type, S>,
&'b Elim::Deadwood: Typed<Context, Type, S>,
&'b Elim::Icedrake: Typed<Context, Type, S>,
&'b Elim::SeaCrocodile: Typed<Context, Type, S>,
&'b Elim::Dagon: Typed<Context, Type, S>,
&'b Elim::Rocksnapper: Typed<Context, Type, S>,
&'b Elim::Rootsnapper: Typed<Context, Type, S>,
&'b Elim::Reefsnapper: Typed<Context, Type, S>,
&'b Elim::Elbst: Typed<Context, Type, S>,
&'b Elim::Mossdrake: Typed<Context, Type, S>,
&'b Elim::Driggle: Typed<Context, Type, S>,
&'b Elim::Snaretongue: Typed<Context, Type, S>,
&'b Elim::Hydra: 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::Crocodile: Typed<Context, Type, S>,
&'b Elim::Alligator: Typed<Context, Type, S>,
&'b Elim::Salamander: Typed<Context, Type, S>,
&'b Elim::Monitor: Typed<Context, Type, S>,
&'b Elim::Asp: Typed<Context, Type, S>,
&'b Elim::Tortoise: Typed<Context, Type, S>,
&'b Elim::Pangolin: Typed<Context, Type, S>,
&'b Elim::Maneater: Typed<Context, Type, S>,
&'b Elim::Sandshark: Typed<Context, Type, S>,
&'b Elim::Hakulaq: Typed<Context, Type, S>,
&'b Elim::Lavadrake: Typed<Context, Type, S>,
&'b Elim::Basilisk: Typed<Context, Type, S>,
&'b Elim::Deadwood: Typed<Context, Type, S>,
&'b Elim::Icedrake: Typed<Context, Type, S>,
&'b Elim::SeaCrocodile: Typed<Context, Type, S>,
&'b Elim::Dagon: Typed<Context, Type, S>,
&'b Elim::Rocksnapper: Typed<Context, Type, S>,
&'b Elim::Rootsnapper: Typed<Context, Type, S>,
&'b Elim::Reefsnapper: Typed<Context, Type, S>,
&'b Elim::Elbst: Typed<Context, Type, S>,
&'b Elim::Mossdrake: Typed<Context, Type, S>,
&'b Elim::Driggle: Typed<Context, Type, S>,
&'b Elim::Snaretongue: Typed<Context, Type, S>,
&'b Elim::Hydra: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Freeze,
<Elim as PackedElim>::Alligator: Freeze,
<Elim as PackedElim>::Salamander: Freeze,
<Elim as PackedElim>::Monitor: Freeze,
<Elim as PackedElim>::Asp: Freeze,
<Elim as PackedElim>::Tortoise: Freeze,
<Elim as PackedElim>::Pangolin: Freeze,
<Elim as PackedElim>::Maneater: Freeze,
<Elim as PackedElim>::Sandshark: Freeze,
<Elim as PackedElim>::Hakulaq: Freeze,
<Elim as PackedElim>::Lavadrake: Freeze,
<Elim as PackedElim>::Basilisk: Freeze,
<Elim as PackedElim>::Deadwood: Freeze,
<Elim as PackedElim>::Icedrake: Freeze,
<Elim as PackedElim>::SeaCrocodile: Freeze,
<Elim as PackedElim>::Dagon: Freeze,
<Elim as PackedElim>::Rocksnapper: Freeze,
<Elim as PackedElim>::Rootsnapper: Freeze,
<Elim as PackedElim>::Reefsnapper: Freeze,
<Elim as PackedElim>::Elbst: Freeze,
<Elim as PackedElim>::Mossdrake: Freeze,
<Elim as PackedElim>::Driggle: Freeze,
<Elim as PackedElim>::Snaretongue: Freeze,
<Elim as PackedElim>::Hydra: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Crocodile: RefUnwindSafe,
<Elim as PackedElim>::Alligator: RefUnwindSafe,
<Elim as PackedElim>::Salamander: RefUnwindSafe,
<Elim as PackedElim>::Monitor: RefUnwindSafe,
<Elim as PackedElim>::Asp: RefUnwindSafe,
<Elim as PackedElim>::Tortoise: RefUnwindSafe,
<Elim as PackedElim>::Pangolin: RefUnwindSafe,
<Elim as PackedElim>::Maneater: RefUnwindSafe,
<Elim as PackedElim>::Sandshark: RefUnwindSafe,
<Elim as PackedElim>::Hakulaq: RefUnwindSafe,
<Elim as PackedElim>::Lavadrake: RefUnwindSafe,
<Elim as PackedElim>::Basilisk: RefUnwindSafe,
<Elim as PackedElim>::Deadwood: RefUnwindSafe,
<Elim as PackedElim>::Icedrake: RefUnwindSafe,
<Elim as PackedElim>::SeaCrocodile: RefUnwindSafe,
<Elim as PackedElim>::Dagon: RefUnwindSafe,
<Elim as PackedElim>::Rocksnapper: RefUnwindSafe,
<Elim as PackedElim>::Rootsnapper: RefUnwindSafe,
<Elim as PackedElim>::Reefsnapper: RefUnwindSafe,
<Elim as PackedElim>::Elbst: RefUnwindSafe,
<Elim as PackedElim>::Mossdrake: RefUnwindSafe,
<Elim as PackedElim>::Driggle: RefUnwindSafe,
<Elim as PackedElim>::Snaretongue: RefUnwindSafe,
<Elim as PackedElim>::Hydra: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Send,
<Elim as PackedElim>::Alligator: Send,
<Elim as PackedElim>::Salamander: Send,
<Elim as PackedElim>::Monitor: Send,
<Elim as PackedElim>::Asp: Send,
<Elim as PackedElim>::Tortoise: Send,
<Elim as PackedElim>::Pangolin: Send,
<Elim as PackedElim>::Maneater: Send,
<Elim as PackedElim>::Sandshark: Send,
<Elim as PackedElim>::Hakulaq: Send,
<Elim as PackedElim>::Lavadrake: Send,
<Elim as PackedElim>::Basilisk: Send,
<Elim as PackedElim>::Deadwood: Send,
<Elim as PackedElim>::Icedrake: Send,
<Elim as PackedElim>::SeaCrocodile: Send,
<Elim as PackedElim>::Dagon: Send,
<Elim as PackedElim>::Rocksnapper: Send,
<Elim as PackedElim>::Rootsnapper: Send,
<Elim as PackedElim>::Reefsnapper: Send,
<Elim as PackedElim>::Elbst: Send,
<Elim as PackedElim>::Mossdrake: Send,
<Elim as PackedElim>::Driggle: Send,
<Elim as PackedElim>::Snaretongue: Send,
<Elim as PackedElim>::Hydra: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Sync,
<Elim as PackedElim>::Alligator: Sync,
<Elim as PackedElim>::Salamander: Sync,
<Elim as PackedElim>::Monitor: Sync,
<Elim as PackedElim>::Asp: Sync,
<Elim as PackedElim>::Tortoise: Sync,
<Elim as PackedElim>::Pangolin: Sync,
<Elim as PackedElim>::Maneater: Sync,
<Elim as PackedElim>::Sandshark: Sync,
<Elim as PackedElim>::Hakulaq: Sync,
<Elim as PackedElim>::Lavadrake: Sync,
<Elim as PackedElim>::Basilisk: Sync,
<Elim as PackedElim>::Deadwood: Sync,
<Elim as PackedElim>::Icedrake: Sync,
<Elim as PackedElim>::SeaCrocodile: Sync,
<Elim as PackedElim>::Dagon: Sync,
<Elim as PackedElim>::Rocksnapper: Sync,
<Elim as PackedElim>::Rootsnapper: Sync,
<Elim as PackedElim>::Reefsnapper: Sync,
<Elim as PackedElim>::Elbst: Sync,
<Elim as PackedElim>::Mossdrake: Sync,
<Elim as PackedElim>::Driggle: Sync,
<Elim as PackedElim>::Snaretongue: Sync,
<Elim as PackedElim>::Hydra: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Unpin,
<Elim as PackedElim>::Alligator: Unpin,
<Elim as PackedElim>::Salamander: Unpin,
<Elim as PackedElim>::Monitor: Unpin,
<Elim as PackedElim>::Asp: Unpin,
<Elim as PackedElim>::Tortoise: Unpin,
<Elim as PackedElim>::Pangolin: Unpin,
<Elim as PackedElim>::Maneater: Unpin,
<Elim as PackedElim>::Sandshark: Unpin,
<Elim as PackedElim>::Hakulaq: Unpin,
<Elim as PackedElim>::Lavadrake: Unpin,
<Elim as PackedElim>::Basilisk: Unpin,
<Elim as PackedElim>::Deadwood: Unpin,
<Elim as PackedElim>::Icedrake: Unpin,
<Elim as PackedElim>::SeaCrocodile: Unpin,
<Elim as PackedElim>::Dagon: Unpin,
<Elim as PackedElim>::Rocksnapper: Unpin,
<Elim as PackedElim>::Rootsnapper: Unpin,
<Elim as PackedElim>::Reefsnapper: Unpin,
<Elim as PackedElim>::Elbst: Unpin,
<Elim as PackedElim>::Mossdrake: Unpin,
<Elim as PackedElim>::Driggle: Unpin,
<Elim as PackedElim>::Snaretongue: Unpin,
<Elim as PackedElim>::Hydra: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Crocodile: UnwindSafe,
<Elim as PackedElim>::Alligator: UnwindSafe,
<Elim as PackedElim>::Salamander: UnwindSafe,
<Elim as PackedElim>::Monitor: UnwindSafe,
<Elim as PackedElim>::Asp: UnwindSafe,
<Elim as PackedElim>::Tortoise: UnwindSafe,
<Elim as PackedElim>::Pangolin: UnwindSafe,
<Elim as PackedElim>::Maneater: UnwindSafe,
<Elim as PackedElim>::Sandshark: UnwindSafe,
<Elim as PackedElim>::Hakulaq: UnwindSafe,
<Elim as PackedElim>::Lavadrake: UnwindSafe,
<Elim as PackedElim>::Basilisk: UnwindSafe,
<Elim as PackedElim>::Deadwood: UnwindSafe,
<Elim as PackedElim>::Icedrake: UnwindSafe,
<Elim as PackedElim>::SeaCrocodile: UnwindSafe,
<Elim as PackedElim>::Dagon: UnwindSafe,
<Elim as PackedElim>::Rocksnapper: UnwindSafe,
<Elim as PackedElim>::Rootsnapper: UnwindSafe,
<Elim as PackedElim>::Reefsnapper: UnwindSafe,
<Elim as PackedElim>::Elbst: UnwindSafe,
<Elim as PackedElim>::Mossdrake: UnwindSafe,
<Elim as PackedElim>::Driggle: UnwindSafe,
<Elim as PackedElim>::Snaretongue: UnwindSafe,
<Elim as PackedElim>::Hydra: 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