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

Fields§

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

Trait Implementations§

§

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

§

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

§

fn reduce(self, _: ((&'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
§

impl<Context> SubContext<Context> for Context

§

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,