pub struct Cases<Elim: PackedElim> {Show 22 fields
pub AmberOrange: Elim::AmberOrange,
pub AmberYellow: Elim::AmberYellow,
pub BrightBrown: Elim::BrightBrown,
pub CornflowerBlue: Elim::CornflowerBlue,
pub CuriousGreen: Elim::CuriousGreen,
pub EmeraldGreen: Elim::EmeraldGreen,
pub ExoticPurple: Elim::ExoticPurple,
pub FrozenBlue: Elim::FrozenBlue,
pub GhastlyYellow: Elim::GhastlyYellow,
pub LoyalBrown: Elim::LoyalBrown,
pub MagicPurple: Elim::MagicPurple,
pub NobleBlue: Elim::NobleBlue,
pub PineGreen: Elim::PineGreen,
pub PumpkinOrange: Elim::PumpkinOrange,
pub RubyRed: Elim::RubyRed,
pub RegalPurple: Elim::RegalPurple,
pub RustBrown: Elim::RustBrown,
pub SapphireBlue: Elim::SapphireBlue,
pub SulfurYellow: Elim::SulfurYellow,
pub ToxicGreen: Elim::ToxicGreen,
pub ViciousRed: Elim::ViciousRed,
pub VigorousBlack: Elim::VigorousBlack,
}
Fields§
§AmberOrange: Elim::AmberOrange
§AmberYellow: Elim::AmberYellow
§BrightBrown: Elim::BrightBrown
§CornflowerBlue: Elim::CornflowerBlue
§CuriousGreen: Elim::CuriousGreen
§EmeraldGreen: Elim::EmeraldGreen
§ExoticPurple: Elim::ExoticPurple
§FrozenBlue: Elim::FrozenBlue
§GhastlyYellow: Elim::GhastlyYellow
§LoyalBrown: Elim::LoyalBrown
§MagicPurple: Elim::MagicPurple
§NobleBlue: Elim::NobleBlue
§PineGreen: Elim::PineGreen
§PumpkinOrange: Elim::PumpkinOrange
§RubyRed: Elim::RubyRed
§RegalPurple: Elim::RegalPurple
§RustBrown: Elim::RustBrown
§SapphireBlue: Elim::SapphireBlue
§SulfurYellow: Elim::SulfurYellow
§ToxicGreen: Elim::ToxicGreen
§ViciousRed: Elim::ViciousRed
§VigorousBlack: Elim::VigorousBlack
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::AmberOrange: Deserialize<'de>,
Elim::AmberYellow: Deserialize<'de>,
Elim::BrightBrown: Deserialize<'de>,
Elim::CornflowerBlue: Deserialize<'de>,
Elim::CuriousGreen: Deserialize<'de>,
Elim::EmeraldGreen: Deserialize<'de>,
Elim::ExoticPurple: Deserialize<'de>,
Elim::FrozenBlue: Deserialize<'de>,
Elim::GhastlyYellow: Deserialize<'de>,
Elim::LoyalBrown: Deserialize<'de>,
Elim::MagicPurple: Deserialize<'de>,
Elim::NobleBlue: Deserialize<'de>,
Elim::PineGreen: Deserialize<'de>,
Elim::PumpkinOrange: Deserialize<'de>,
Elim::RubyRed: Deserialize<'de>,
Elim::RegalPurple: Deserialize<'de>,
Elim::RustBrown: Deserialize<'de>,
Elim::SapphireBlue: Deserialize<'de>,
Elim::SulfurYellow: Deserialize<'de>,
Elim::ToxicGreen: Deserialize<'de>,
Elim::ViciousRed: Deserialize<'de>,
Elim::VigorousBlack: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::AmberOrange: Deserialize<'de>,
Elim::AmberYellow: Deserialize<'de>,
Elim::BrightBrown: Deserialize<'de>,
Elim::CornflowerBlue: Deserialize<'de>,
Elim::CuriousGreen: Deserialize<'de>,
Elim::EmeraldGreen: Deserialize<'de>,
Elim::ExoticPurple: Deserialize<'de>,
Elim::FrozenBlue: Deserialize<'de>,
Elim::GhastlyYellow: Deserialize<'de>,
Elim::LoyalBrown: Deserialize<'de>,
Elim::MagicPurple: Deserialize<'de>,
Elim::NobleBlue: Deserialize<'de>,
Elim::PineGreen: Deserialize<'de>,
Elim::PumpkinOrange: Deserialize<'de>,
Elim::RubyRed: Deserialize<'de>,
Elim::RegalPurple: Deserialize<'de>,
Elim::RustBrown: Deserialize<'de>,
Elim::SapphireBlue: Deserialize<'de>,
Elim::SulfurYellow: Deserialize<'de>,
Elim::ToxicGreen: Deserialize<'de>,
Elim::ViciousRed: Deserialize<'de>,
Elim::VigorousBlack: 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::AmberOrange: Serialize,
Elim::AmberYellow: Serialize,
Elim::BrightBrown: Serialize,
Elim::CornflowerBlue: Serialize,
Elim::CuriousGreen: Serialize,
Elim::EmeraldGreen: Serialize,
Elim::ExoticPurple: Serialize,
Elim::FrozenBlue: Serialize,
Elim::GhastlyYellow: Serialize,
Elim::LoyalBrown: Serialize,
Elim::MagicPurple: Serialize,
Elim::NobleBlue: Serialize,
Elim::PineGreen: Serialize,
Elim::PumpkinOrange: Serialize,
Elim::RubyRed: Serialize,
Elim::RegalPurple: Serialize,
Elim::RustBrown: Serialize,
Elim::SapphireBlue: Serialize,
Elim::SulfurYellow: Serialize,
Elim::ToxicGreen: Serialize,
Elim::ViciousRed: Serialize,
Elim::VigorousBlack: Serialize,
impl<Elim: PackedElim> Serialize for Cases<Elim>where
Elim::AmberOrange: Serialize,
Elim::AmberYellow: Serialize,
Elim::BrightBrown: Serialize,
Elim::CornflowerBlue: Serialize,
Elim::CuriousGreen: Serialize,
Elim::EmeraldGreen: Serialize,
Elim::ExoticPurple: Serialize,
Elim::FrozenBlue: Serialize,
Elim::GhastlyYellow: Serialize,
Elim::LoyalBrown: Serialize,
Elim::MagicPurple: Serialize,
Elim::NobleBlue: Serialize,
Elim::PineGreen: Serialize,
Elim::PumpkinOrange: Serialize,
Elim::RubyRed: Serialize,
Elim::RegalPurple: Serialize,
Elim::RustBrown: Serialize,
Elim::SapphireBlue: Serialize,
Elim::SulfurYellow: Serialize,
Elim::ToxicGreen: Serialize,
Elim::ViciousRed: Serialize,
Elim::VigorousBlack: Serialize,
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a EyeColor,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::AmberOrange: Typed<Context, Type, S>,
&'b Elim::AmberYellow: Typed<Context, Type, S>,
&'b Elim::BrightBrown: Typed<Context, Type, S>,
&'b Elim::CornflowerBlue: Typed<Context, Type, S>,
&'b Elim::CuriousGreen: Typed<Context, Type, S>,
&'b Elim::EmeraldGreen: Typed<Context, Type, S>,
&'b Elim::ExoticPurple: Typed<Context, Type, S>,
&'b Elim::FrozenBlue: Typed<Context, Type, S>,
&'b Elim::GhastlyYellow: Typed<Context, Type, S>,
&'b Elim::LoyalBrown: Typed<Context, Type, S>,
&'b Elim::MagicPurple: Typed<Context, Type, S>,
&'b Elim::NobleBlue: Typed<Context, Type, S>,
&'b Elim::PineGreen: Typed<Context, Type, S>,
&'b Elim::PumpkinOrange: Typed<Context, Type, S>,
&'b Elim::RubyRed: Typed<Context, Type, S>,
&'b Elim::RegalPurple: Typed<Context, Type, S>,
&'b Elim::RustBrown: Typed<Context, Type, S>,
&'b Elim::SapphireBlue: Typed<Context, Type, S>,
&'b Elim::SulfurYellow: Typed<Context, Type, S>,
&'b Elim::ToxicGreen: Typed<Context, Type, S>,
&'b Elim::ViciousRed: Typed<Context, Type, S>,
&'b Elim::VigorousBlack: Typed<Context, Type, S>,
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a EyeColor,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::AmberOrange: Typed<Context, Type, S>,
&'b Elim::AmberYellow: Typed<Context, Type, S>,
&'b Elim::BrightBrown: Typed<Context, Type, S>,
&'b Elim::CornflowerBlue: Typed<Context, Type, S>,
&'b Elim::CuriousGreen: Typed<Context, Type, S>,
&'b Elim::EmeraldGreen: Typed<Context, Type, S>,
&'b Elim::ExoticPurple: Typed<Context, Type, S>,
&'b Elim::FrozenBlue: Typed<Context, Type, S>,
&'b Elim::GhastlyYellow: Typed<Context, Type, S>,
&'b Elim::LoyalBrown: Typed<Context, Type, S>,
&'b Elim::MagicPurple: Typed<Context, Type, S>,
&'b Elim::NobleBlue: Typed<Context, Type, S>,
&'b Elim::PineGreen: Typed<Context, Type, S>,
&'b Elim::PumpkinOrange: Typed<Context, Type, S>,
&'b Elim::RubyRed: Typed<Context, Type, S>,
&'b Elim::RegalPurple: Typed<Context, Type, S>,
&'b Elim::RustBrown: Typed<Context, Type, S>,
&'b Elim::SapphireBlue: Typed<Context, Type, S>,
&'b Elim::SulfurYellow: Typed<Context, Type, S>,
&'b Elim::ToxicGreen: Typed<Context, Type, S>,
&'b Elim::ViciousRed: Typed<Context, Type, S>,
&'b Elim::VigorousBlack: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: Freeze,
<Elim as PackedElim>::AmberYellow: Freeze,
<Elim as PackedElim>::BrightBrown: Freeze,
<Elim as PackedElim>::CornflowerBlue: Freeze,
<Elim as PackedElim>::CuriousGreen: Freeze,
<Elim as PackedElim>::EmeraldGreen: Freeze,
<Elim as PackedElim>::ExoticPurple: Freeze,
<Elim as PackedElim>::FrozenBlue: Freeze,
<Elim as PackedElim>::GhastlyYellow: Freeze,
<Elim as PackedElim>::LoyalBrown: Freeze,
<Elim as PackedElim>::MagicPurple: Freeze,
<Elim as PackedElim>::NobleBlue: Freeze,
<Elim as PackedElim>::PineGreen: Freeze,
<Elim as PackedElim>::PumpkinOrange: Freeze,
<Elim as PackedElim>::RubyRed: Freeze,
<Elim as PackedElim>::RegalPurple: Freeze,
<Elim as PackedElim>::RustBrown: Freeze,
<Elim as PackedElim>::SapphireBlue: Freeze,
<Elim as PackedElim>::SulfurYellow: Freeze,
<Elim as PackedElim>::ToxicGreen: Freeze,
<Elim as PackedElim>::ViciousRed: Freeze,
<Elim as PackedElim>::VigorousBlack: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: RefUnwindSafe,
<Elim as PackedElim>::AmberYellow: RefUnwindSafe,
<Elim as PackedElim>::BrightBrown: RefUnwindSafe,
<Elim as PackedElim>::CornflowerBlue: RefUnwindSafe,
<Elim as PackedElim>::CuriousGreen: RefUnwindSafe,
<Elim as PackedElim>::EmeraldGreen: RefUnwindSafe,
<Elim as PackedElim>::ExoticPurple: RefUnwindSafe,
<Elim as PackedElim>::FrozenBlue: RefUnwindSafe,
<Elim as PackedElim>::GhastlyYellow: RefUnwindSafe,
<Elim as PackedElim>::LoyalBrown: RefUnwindSafe,
<Elim as PackedElim>::MagicPurple: RefUnwindSafe,
<Elim as PackedElim>::NobleBlue: RefUnwindSafe,
<Elim as PackedElim>::PineGreen: RefUnwindSafe,
<Elim as PackedElim>::PumpkinOrange: RefUnwindSafe,
<Elim as PackedElim>::RubyRed: RefUnwindSafe,
<Elim as PackedElim>::RegalPurple: RefUnwindSafe,
<Elim as PackedElim>::RustBrown: RefUnwindSafe,
<Elim as PackedElim>::SapphireBlue: RefUnwindSafe,
<Elim as PackedElim>::SulfurYellow: RefUnwindSafe,
<Elim as PackedElim>::ToxicGreen: RefUnwindSafe,
<Elim as PackedElim>::ViciousRed: RefUnwindSafe,
<Elim as PackedElim>::VigorousBlack: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: Send,
<Elim as PackedElim>::AmberYellow: Send,
<Elim as PackedElim>::BrightBrown: Send,
<Elim as PackedElim>::CornflowerBlue: Send,
<Elim as PackedElim>::CuriousGreen: Send,
<Elim as PackedElim>::EmeraldGreen: Send,
<Elim as PackedElim>::ExoticPurple: Send,
<Elim as PackedElim>::FrozenBlue: Send,
<Elim as PackedElim>::GhastlyYellow: Send,
<Elim as PackedElim>::LoyalBrown: Send,
<Elim as PackedElim>::MagicPurple: Send,
<Elim as PackedElim>::NobleBlue: Send,
<Elim as PackedElim>::PineGreen: Send,
<Elim as PackedElim>::PumpkinOrange: Send,
<Elim as PackedElim>::RubyRed: Send,
<Elim as PackedElim>::RegalPurple: Send,
<Elim as PackedElim>::RustBrown: Send,
<Elim as PackedElim>::SapphireBlue: Send,
<Elim as PackedElim>::SulfurYellow: Send,
<Elim as PackedElim>::ToxicGreen: Send,
<Elim as PackedElim>::ViciousRed: Send,
<Elim as PackedElim>::VigorousBlack: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: Sync,
<Elim as PackedElim>::AmberYellow: Sync,
<Elim as PackedElim>::BrightBrown: Sync,
<Elim as PackedElim>::CornflowerBlue: Sync,
<Elim as PackedElim>::CuriousGreen: Sync,
<Elim as PackedElim>::EmeraldGreen: Sync,
<Elim as PackedElim>::ExoticPurple: Sync,
<Elim as PackedElim>::FrozenBlue: Sync,
<Elim as PackedElim>::GhastlyYellow: Sync,
<Elim as PackedElim>::LoyalBrown: Sync,
<Elim as PackedElim>::MagicPurple: Sync,
<Elim as PackedElim>::NobleBlue: Sync,
<Elim as PackedElim>::PineGreen: Sync,
<Elim as PackedElim>::PumpkinOrange: Sync,
<Elim as PackedElim>::RubyRed: Sync,
<Elim as PackedElim>::RegalPurple: Sync,
<Elim as PackedElim>::RustBrown: Sync,
<Elim as PackedElim>::SapphireBlue: Sync,
<Elim as PackedElim>::SulfurYellow: Sync,
<Elim as PackedElim>::ToxicGreen: Sync,
<Elim as PackedElim>::ViciousRed: Sync,
<Elim as PackedElim>::VigorousBlack: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: Unpin,
<Elim as PackedElim>::AmberYellow: Unpin,
<Elim as PackedElim>::BrightBrown: Unpin,
<Elim as PackedElim>::CornflowerBlue: Unpin,
<Elim as PackedElim>::CuriousGreen: Unpin,
<Elim as PackedElim>::EmeraldGreen: Unpin,
<Elim as PackedElim>::ExoticPurple: Unpin,
<Elim as PackedElim>::FrozenBlue: Unpin,
<Elim as PackedElim>::GhastlyYellow: Unpin,
<Elim as PackedElim>::LoyalBrown: Unpin,
<Elim as PackedElim>::MagicPurple: Unpin,
<Elim as PackedElim>::NobleBlue: Unpin,
<Elim as PackedElim>::PineGreen: Unpin,
<Elim as PackedElim>::PumpkinOrange: Unpin,
<Elim as PackedElim>::RubyRed: Unpin,
<Elim as PackedElim>::RegalPurple: Unpin,
<Elim as PackedElim>::RustBrown: Unpin,
<Elim as PackedElim>::SapphireBlue: Unpin,
<Elim as PackedElim>::SulfurYellow: Unpin,
<Elim as PackedElim>::ToxicGreen: Unpin,
<Elim as PackedElim>::ViciousRed: Unpin,
<Elim as PackedElim>::VigorousBlack: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::AmberOrange: UnwindSafe,
<Elim as PackedElim>::AmberYellow: UnwindSafe,
<Elim as PackedElim>::BrightBrown: UnwindSafe,
<Elim as PackedElim>::CornflowerBlue: UnwindSafe,
<Elim as PackedElim>::CuriousGreen: UnwindSafe,
<Elim as PackedElim>::EmeraldGreen: UnwindSafe,
<Elim as PackedElim>::ExoticPurple: UnwindSafe,
<Elim as PackedElim>::FrozenBlue: UnwindSafe,
<Elim as PackedElim>::GhastlyYellow: UnwindSafe,
<Elim as PackedElim>::LoyalBrown: UnwindSafe,
<Elim as PackedElim>::MagicPurple: UnwindSafe,
<Elim as PackedElim>::NobleBlue: UnwindSafe,
<Elim as PackedElim>::PineGreen: UnwindSafe,
<Elim as PackedElim>::PumpkinOrange: UnwindSafe,
<Elim as PackedElim>::RubyRed: UnwindSafe,
<Elim as PackedElim>::RegalPurple: UnwindSafe,
<Elim as PackedElim>::RustBrown: UnwindSafe,
<Elim as PackedElim>::SapphireBlue: UnwindSafe,
<Elim as PackedElim>::SulfurYellow: UnwindSafe,
<Elim as PackedElim>::ToxicGreen: UnwindSafe,
<Elim as PackedElim>::ViciousRed: UnwindSafe,
<Elim as PackedElim>::VigorousBlack: 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