Struct veloren_common::comp::body::biped_large::species::Cases

source ·
pub struct Cases<Elim: PackedElim> {
Show 34 fields pub Ogre: Elim::Ogre, pub Cyclops: Elim::Cyclops, pub Wendigo: Elim::Wendigo, pub Cavetroll: Elim::Cavetroll, pub Mountaintroll: Elim::Mountaintroll, pub Swamptroll: Elim::Swamptroll, pub Dullahan: Elim::Dullahan, pub Werewolf: Elim::Werewolf, pub Occultsaurok: Elim::Occultsaurok, pub Mightysaurok: Elim::Mightysaurok, pub Slysaurok: Elim::Slysaurok, pub Mindflayer: Elim::Mindflayer, pub Minotaur: Elim::Minotaur, pub Tidalwarrior: Elim::Tidalwarrior, pub Yeti: Elim::Yeti, pub Harvester: Elim::Harvester, pub Blueoni: Elim::Blueoni, pub Redoni: Elim::Redoni, pub Cultistwarlord: Elim::Cultistwarlord, pub Cultistwarlock: Elim::Cultistwarlock, pub Huskbrute: Elim::Huskbrute, pub Tursus: Elim::Tursus, pub Gigasfrost: Elim::Gigasfrost, pub AdletElder: Elim::AdletElder, pub SeaBishop: Elim::SeaBishop, pub HaniwaGeneral: Elim::HaniwaGeneral, pub TerracottaBesieger: Elim::TerracottaBesieger, pub TerracottaDemolisher: Elim::TerracottaDemolisher, pub TerracottaPunisher: Elim::TerracottaPunisher, pub TerracottaPursuer: Elim::TerracottaPursuer, pub Cursekeeper: Elim::Cursekeeper, pub Forgemaster: Elim::Forgemaster, pub Strigoi: Elim::Strigoi, pub Executioner: Elim::Executioner,
}

Fields§

§Ogre: Elim::Ogre§Cyclops: Elim::Cyclops§Wendigo: Elim::Wendigo§Cavetroll: Elim::Cavetroll§Mountaintroll: Elim::Mountaintroll§Swamptroll: Elim::Swamptroll§Dullahan: Elim::Dullahan§Werewolf: Elim::Werewolf§Occultsaurok: Elim::Occultsaurok§Mightysaurok: Elim::Mightysaurok§Slysaurok: Elim::Slysaurok§Mindflayer: Elim::Mindflayer§Minotaur: Elim::Minotaur§Tidalwarrior: Elim::Tidalwarrior§Yeti: Elim::Yeti§Harvester: Elim::Harvester§Blueoni: Elim::Blueoni§Redoni: Elim::Redoni§Cultistwarlord: Elim::Cultistwarlord§Cultistwarlock: Elim::Cultistwarlock§Huskbrute: Elim::Huskbrute§Tursus: Elim::Tursus§Gigasfrost: Elim::Gigasfrost§AdletElder: Elim::AdletElder§SeaBishop: Elim::SeaBishop§HaniwaGeneral: Elim::HaniwaGeneral§TerracottaBesieger: Elim::TerracottaBesieger§TerracottaDemolisher: Elim::TerracottaDemolisher§TerracottaPunisher: Elim::TerracottaPunisher§TerracottaPursuer: Elim::TerracottaPursuer§Cursekeeper: Elim::Cursekeeper§Forgemaster: Elim::Forgemaster§Strigoi: Elim::Strigoi§Executioner: Elim::Executioner

Trait Implementations§

source§

impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>
where Elim::Ogre: Deserialize<'de>, Elim::Cyclops: Deserialize<'de>, Elim::Wendigo: Deserialize<'de>, Elim::Cavetroll: Deserialize<'de>, Elim::Mountaintroll: Deserialize<'de>, Elim::Swamptroll: Deserialize<'de>, Elim::Dullahan: Deserialize<'de>, Elim::Werewolf: Deserialize<'de>, Elim::Occultsaurok: Deserialize<'de>, Elim::Mightysaurok: Deserialize<'de>, Elim::Slysaurok: Deserialize<'de>, Elim::Mindflayer: Deserialize<'de>, Elim::Minotaur: Deserialize<'de>, Elim::Tidalwarrior: Deserialize<'de>, Elim::Yeti: Deserialize<'de>, Elim::Harvester: Deserialize<'de>, Elim::Blueoni: Deserialize<'de>, Elim::Redoni: Deserialize<'de>, Elim::Cultistwarlord: Deserialize<'de>, Elim::Cultistwarlock: Deserialize<'de>, Elim::Huskbrute: Deserialize<'de>, Elim::Tursus: Deserialize<'de>, Elim::Gigasfrost: Deserialize<'de>, Elim::AdletElder: Deserialize<'de>, Elim::SeaBishop: Deserialize<'de>, Elim::HaniwaGeneral: Deserialize<'de>, Elim::TerracottaBesieger: Deserialize<'de>, Elim::TerracottaDemolisher: Deserialize<'de>, Elim::TerracottaPunisher: Deserialize<'de>, Elim::TerracottaPursuer: Deserialize<'de>, Elim::Cursekeeper: Deserialize<'de>, Elim::Forgemaster: Deserialize<'de>, Elim::Strigoi: Deserialize<'de>, Elim::Executioner: 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::Ogre: Typed<Context, Type, S>, &'b Elim::Cyclops: Typed<Context, Type, S>, &'b Elim::Wendigo: Typed<Context, Type, S>, &'b Elim::Cavetroll: Typed<Context, Type, S>, &'b Elim::Mountaintroll: Typed<Context, Type, S>, &'b Elim::Swamptroll: Typed<Context, Type, S>, &'b Elim::Dullahan: Typed<Context, Type, S>, &'b Elim::Werewolf: Typed<Context, Type, S>, &'b Elim::Occultsaurok: Typed<Context, Type, S>, &'b Elim::Mightysaurok: Typed<Context, Type, S>, &'b Elim::Slysaurok: Typed<Context, Type, S>, &'b Elim::Mindflayer: Typed<Context, Type, S>, &'b Elim::Minotaur: Typed<Context, Type, S>, &'b Elim::Tidalwarrior: Typed<Context, Type, S>, &'b Elim::Yeti: Typed<Context, Type, S>, &'b Elim::Harvester: Typed<Context, Type, S>, &'b Elim::Blueoni: Typed<Context, Type, S>, &'b Elim::Redoni: Typed<Context, Type, S>, &'b Elim::Cultistwarlord: Typed<Context, Type, S>, &'b Elim::Cultistwarlock: Typed<Context, Type, S>, &'b Elim::Huskbrute: Typed<Context, Type, S>, &'b Elim::Tursus: Typed<Context, Type, S>, &'b Elim::Gigasfrost: Typed<Context, Type, S>, &'b Elim::AdletElder: Typed<Context, Type, S>, &'b Elim::SeaBishop: Typed<Context, Type, S>, &'b Elim::HaniwaGeneral: Typed<Context, Type, S>, &'b Elim::TerracottaBesieger: Typed<Context, Type, S>, &'b Elim::TerracottaDemolisher: Typed<Context, Type, S>, &'b Elim::TerracottaPunisher: Typed<Context, Type, S>, &'b Elim::TerracottaPursuer: Typed<Context, Type, S>, &'b Elim::Cursekeeper: Typed<Context, Type, S>, &'b Elim::Forgemaster: Typed<Context, Type, S>, &'b Elim::Strigoi: Typed<Context, Type, S>, &'b Elim::Executioner: Typed<Context, Type, S>,

source§

fn reduce(self, ((head), context): ((&'a Species,), Context)) -> (Type, S)

Auto Trait Implementations§

§

impl<Elim> Freeze for Cases<Elim>

§

impl<Elim> RefUnwindSafe for Cases<Elim>
where <Elim as PackedElim>::Ogre: RefUnwindSafe, <Elim as PackedElim>::Cyclops: RefUnwindSafe, <Elim as PackedElim>::Wendigo: RefUnwindSafe, <Elim as PackedElim>::Cavetroll: RefUnwindSafe, <Elim as PackedElim>::Mountaintroll: RefUnwindSafe, <Elim as PackedElim>::Swamptroll: RefUnwindSafe, <Elim as PackedElim>::Dullahan: RefUnwindSafe, <Elim as PackedElim>::Werewolf: RefUnwindSafe, <Elim as PackedElim>::Occultsaurok: RefUnwindSafe, <Elim as PackedElim>::Mightysaurok: RefUnwindSafe, <Elim as PackedElim>::Slysaurok: RefUnwindSafe, <Elim as PackedElim>::Mindflayer: RefUnwindSafe, <Elim as PackedElim>::Minotaur: RefUnwindSafe, <Elim as PackedElim>::Tidalwarrior: RefUnwindSafe, <Elim as PackedElim>::Yeti: RefUnwindSafe, <Elim as PackedElim>::Harvester: RefUnwindSafe, <Elim as PackedElim>::Blueoni: RefUnwindSafe, <Elim as PackedElim>::Redoni: RefUnwindSafe, <Elim as PackedElim>::Cultistwarlord: RefUnwindSafe, <Elim as PackedElim>::Cultistwarlock: RefUnwindSafe, <Elim as PackedElim>::Huskbrute: RefUnwindSafe, <Elim as PackedElim>::Tursus: RefUnwindSafe, <Elim as PackedElim>::Gigasfrost: RefUnwindSafe, <Elim as PackedElim>::AdletElder: RefUnwindSafe, <Elim as PackedElim>::SeaBishop: RefUnwindSafe, <Elim as PackedElim>::HaniwaGeneral: RefUnwindSafe, <Elim as PackedElim>::TerracottaBesieger: RefUnwindSafe, <Elim as PackedElim>::TerracottaDemolisher: RefUnwindSafe, <Elim as PackedElim>::TerracottaPunisher: RefUnwindSafe, <Elim as PackedElim>::TerracottaPursuer: RefUnwindSafe, <Elim as PackedElim>::Cursekeeper: RefUnwindSafe, <Elim as PackedElim>::Forgemaster: RefUnwindSafe, <Elim as PackedElim>::Strigoi: RefUnwindSafe, <Elim as PackedElim>::Executioner: RefUnwindSafe,

§

impl<Elim> Send for Cases<Elim>

§

impl<Elim> Sync for Cases<Elim>

§

impl<Elim> Unpin for Cases<Elim>

§

impl<Elim> UnwindSafe for Cases<Elim>
where <Elim as PackedElim>::Ogre: UnwindSafe, <Elim as PackedElim>::Cyclops: UnwindSafe, <Elim as PackedElim>::Wendigo: UnwindSafe, <Elim as PackedElim>::Cavetroll: UnwindSafe, <Elim as PackedElim>::Mountaintroll: UnwindSafe, <Elim as PackedElim>::Swamptroll: UnwindSafe, <Elim as PackedElim>::Dullahan: UnwindSafe, <Elim as PackedElim>::Werewolf: UnwindSafe, <Elim as PackedElim>::Occultsaurok: UnwindSafe, <Elim as PackedElim>::Mightysaurok: UnwindSafe, <Elim as PackedElim>::Slysaurok: UnwindSafe, <Elim as PackedElim>::Mindflayer: UnwindSafe, <Elim as PackedElim>::Minotaur: UnwindSafe, <Elim as PackedElim>::Tidalwarrior: UnwindSafe, <Elim as PackedElim>::Yeti: UnwindSafe, <Elim as PackedElim>::Harvester: UnwindSafe, <Elim as PackedElim>::Blueoni: UnwindSafe, <Elim as PackedElim>::Redoni: UnwindSafe, <Elim as PackedElim>::Cultistwarlord: UnwindSafe, <Elim as PackedElim>::Cultistwarlock: UnwindSafe, <Elim as PackedElim>::Huskbrute: UnwindSafe, <Elim as PackedElim>::Tursus: UnwindSafe, <Elim as PackedElim>::Gigasfrost: UnwindSafe, <Elim as PackedElim>::AdletElder: UnwindSafe, <Elim as PackedElim>::SeaBishop: UnwindSafe, <Elim as PackedElim>::HaniwaGeneral: UnwindSafe, <Elim as PackedElim>::TerracottaBesieger: UnwindSafe, <Elim as PackedElim>::TerracottaDemolisher: UnwindSafe, <Elim as PackedElim>::TerracottaPunisher: UnwindSafe, <Elim as PackedElim>::TerracottaPursuer: UnwindSafe, <Elim as PackedElim>::Cursekeeper: UnwindSafe, <Elim as PackedElim>::Forgemaster: UnwindSafe, <Elim as PackedElim>::Strigoi: UnwindSafe, <Elim as PackedElim>::Executioner: UnwindSafe,

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,