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>,

source§

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>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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>,

source§

fn reduce(self, ((head), context): ((&'a Species,), 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>

§

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>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<Context> SubContext<Context> for Context

source§

fn sub_context(self) -> Context

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> Event for T
where T: Send + Sync + 'static,

§

impl<T> Resource for T
where T: Any + Send + Sync,

§

impl<T> Storable for T
where T: Send + Sync + 'static,