pub struct Cases<Elim: PackedElim> {
pub StoneGolem: Elim::StoneGolem,
pub Treant: Elim::Treant,
pub ClayGolem: Elim::ClayGolem,
pub WoodGolem: Elim::WoodGolem,
pub CoralGolem: Elim::CoralGolem,
pub Gravewarden: Elim::Gravewarden,
pub AncientEffigy: Elim::AncientEffigy,
pub Mogwai: Elim::Mogwai,
pub IronGolem: Elim::IronGolem,
}
Fields§
§StoneGolem: Elim::StoneGolem
§Treant: Elim::Treant
§ClayGolem: Elim::ClayGolem
§WoodGolem: Elim::WoodGolem
§CoralGolem: Elim::CoralGolem
§Gravewarden: Elim::Gravewarden
§AncientEffigy: Elim::AncientEffigy
§Mogwai: Elim::Mogwai
§IronGolem: Elim::IronGolem
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::StoneGolem: Deserialize<'de>,
Elim::Treant: Deserialize<'de>,
Elim::ClayGolem: Deserialize<'de>,
Elim::WoodGolem: Deserialize<'de>,
Elim::CoralGolem: Deserialize<'de>,
Elim::Gravewarden: Deserialize<'de>,
Elim::AncientEffigy: Deserialize<'de>,
Elim::Mogwai: Deserialize<'de>,
Elim::IronGolem: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::StoneGolem: Deserialize<'de>,
Elim::Treant: Deserialize<'de>,
Elim::ClayGolem: Deserialize<'de>,
Elim::WoodGolem: Deserialize<'de>,
Elim::CoralGolem: Deserialize<'de>,
Elim::Gravewarden: Deserialize<'de>,
Elim::AncientEffigy: Deserialize<'de>,
Elim::Mogwai: Deserialize<'de>,
Elim::IronGolem: 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::StoneGolem: Serialize,
Elim::Treant: Serialize,
Elim::ClayGolem: Serialize,
Elim::WoodGolem: Serialize,
Elim::CoralGolem: Serialize,
Elim::Gravewarden: Serialize,
Elim::AncientEffigy: Serialize,
Elim::Mogwai: Serialize,
Elim::IronGolem: Serialize,
impl<Elim: PackedElim> Serialize for Cases<Elim>where
Elim::StoneGolem: Serialize,
Elim::Treant: Serialize,
Elim::ClayGolem: Serialize,
Elim::WoodGolem: Serialize,
Elim::CoralGolem: Serialize,
Elim::Gravewarden: Serialize,
Elim::AncientEffigy: Serialize,
Elim::Mogwai: Serialize,
Elim::IronGolem: Serialize,
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Species,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::StoneGolem: Typed<Context, Type, S>,
&'b Elim::Treant: Typed<Context, Type, S>,
&'b Elim::ClayGolem: Typed<Context, Type, S>,
&'b Elim::WoodGolem: Typed<Context, Type, S>,
&'b Elim::CoralGolem: Typed<Context, Type, S>,
&'b Elim::Gravewarden: Typed<Context, Type, S>,
&'b Elim::AncientEffigy: Typed<Context, Type, S>,
&'b Elim::Mogwai: Typed<Context, Type, S>,
&'b Elim::IronGolem: 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::StoneGolem: Typed<Context, Type, S>,
&'b Elim::Treant: Typed<Context, Type, S>,
&'b Elim::ClayGolem: Typed<Context, Type, S>,
&'b Elim::WoodGolem: Typed<Context, Type, S>,
&'b Elim::CoralGolem: Typed<Context, Type, S>,
&'b Elim::Gravewarden: Typed<Context, Type, S>,
&'b Elim::AncientEffigy: Typed<Context, Type, S>,
&'b Elim::Mogwai: Typed<Context, Type, S>,
&'b Elim::IronGolem: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: Freeze,
<Elim as PackedElim>::Treant: Freeze,
<Elim as PackedElim>::ClayGolem: Freeze,
<Elim as PackedElim>::WoodGolem: Freeze,
<Elim as PackedElim>::CoralGolem: Freeze,
<Elim as PackedElim>::Gravewarden: Freeze,
<Elim as PackedElim>::AncientEffigy: Freeze,
<Elim as PackedElim>::Mogwai: Freeze,
<Elim as PackedElim>::IronGolem: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: RefUnwindSafe,
<Elim as PackedElim>::Treant: RefUnwindSafe,
<Elim as PackedElim>::ClayGolem: RefUnwindSafe,
<Elim as PackedElim>::WoodGolem: RefUnwindSafe,
<Elim as PackedElim>::CoralGolem: RefUnwindSafe,
<Elim as PackedElim>::Gravewarden: RefUnwindSafe,
<Elim as PackedElim>::AncientEffigy: RefUnwindSafe,
<Elim as PackedElim>::Mogwai: RefUnwindSafe,
<Elim as PackedElim>::IronGolem: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: Send,
<Elim as PackedElim>::Treant: Send,
<Elim as PackedElim>::ClayGolem: Send,
<Elim as PackedElim>::WoodGolem: Send,
<Elim as PackedElim>::CoralGolem: Send,
<Elim as PackedElim>::Gravewarden: Send,
<Elim as PackedElim>::AncientEffigy: Send,
<Elim as PackedElim>::Mogwai: Send,
<Elim as PackedElim>::IronGolem: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: Sync,
<Elim as PackedElim>::Treant: Sync,
<Elim as PackedElim>::ClayGolem: Sync,
<Elim as PackedElim>::WoodGolem: Sync,
<Elim as PackedElim>::CoralGolem: Sync,
<Elim as PackedElim>::Gravewarden: Sync,
<Elim as PackedElim>::AncientEffigy: Sync,
<Elim as PackedElim>::Mogwai: Sync,
<Elim as PackedElim>::IronGolem: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: Unpin,
<Elim as PackedElim>::Treant: Unpin,
<Elim as PackedElim>::ClayGolem: Unpin,
<Elim as PackedElim>::WoodGolem: Unpin,
<Elim as PackedElim>::CoralGolem: Unpin,
<Elim as PackedElim>::Gravewarden: Unpin,
<Elim as PackedElim>::AncientEffigy: Unpin,
<Elim as PackedElim>::Mogwai: Unpin,
<Elim as PackedElim>::IronGolem: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::StoneGolem: UnwindSafe,
<Elim as PackedElim>::Treant: UnwindSafe,
<Elim as PackedElim>::ClayGolem: UnwindSafe,
<Elim as PackedElim>::WoodGolem: UnwindSafe,
<Elim as PackedElim>::CoralGolem: UnwindSafe,
<Elim as PackedElim>::Gravewarden: UnwindSafe,
<Elim as PackedElim>::AncientEffigy: UnwindSafe,
<Elim as PackedElim>::Mogwai: UnwindSafe,
<Elim as PackedElim>::IronGolem: 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