pub struct Cases<Elim: PackedElim> {
pub DefaultAirship: Elim::DefaultAirship,
pub AirBalloon: Elim::AirBalloon,
pub SailBoat: Elim::SailBoat,
pub Galleon: Elim::Galleon,
pub Volume: Elim::Volume,
pub Skiff: Elim::Skiff,
pub Submarine: Elim::Submarine,
pub Carriage: Elim::Carriage,
pub Cart: Elim::Cart,
}
Fields§
§DefaultAirship: Elim::DefaultAirship
§AirBalloon: Elim::AirBalloon
§SailBoat: Elim::SailBoat
§Galleon: Elim::Galleon
§Volume: Elim::Volume
§Skiff: Elim::Skiff
§Submarine: Elim::Submarine
§Carriage: Elim::Carriage
§Cart: Elim::Cart
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::DefaultAirship: Deserialize<'de>,
Elim::AirBalloon: Deserialize<'de>,
Elim::SailBoat: Deserialize<'de>,
Elim::Galleon: Deserialize<'de>,
Elim::Volume: Deserialize<'de>,
Elim::Skiff: Deserialize<'de>,
Elim::Submarine: Deserialize<'de>,
Elim::Carriage: Deserialize<'de>,
Elim::Cart: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Cases<Elim>where
Elim::DefaultAirship: Deserialize<'de>,
Elim::AirBalloon: Deserialize<'de>,
Elim::SailBoat: Deserialize<'de>,
Elim::Galleon: Deserialize<'de>,
Elim::Volume: Deserialize<'de>,
Elim::Skiff: Deserialize<'de>,
Elim::Submarine: Deserialize<'de>,
Elim::Carriage: Deserialize<'de>,
Elim::Cart: 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>
impl<Elim: PackedElim> Serialize for Cases<Elim>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::DefaultAirship: Typed<Context, Type, S>,
&'b Elim::AirBalloon: Typed<Context, Type, S>,
&'b Elim::SailBoat: Typed<Context, Type, S>,
&'b Elim::Galleon: Typed<Context, Type, S>,
&'b Elim::Volume: Typed<Context, Type, S>,
&'b Elim::Skiff: Typed<Context, Type, S>,
&'b Elim::Submarine: Typed<Context, Type, S>,
&'b Elim::Carriage: Typed<Context, Type, S>,
&'b Elim::Cart: Typed<Context, Type, S>,
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimCase<Cases<Elim>>where
&'b Elim::DefaultAirship: Typed<Context, Type, S>,
&'b Elim::AirBalloon: Typed<Context, Type, S>,
&'b Elim::SailBoat: Typed<Context, Type, S>,
&'b Elim::Galleon: Typed<Context, Type, S>,
&'b Elim::Volume: Typed<Context, Type, S>,
&'b Elim::Skiff: Typed<Context, Type, S>,
&'b Elim::Submarine: Typed<Context, Type, S>,
&'b Elim::Carriage: Typed<Context, Type, S>,
&'b Elim::Cart: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: Freeze,
<Elim as PackedElim>::AirBalloon: Freeze,
<Elim as PackedElim>::SailBoat: Freeze,
<Elim as PackedElim>::Galleon: Freeze,
<Elim as PackedElim>::Volume: Freeze,
<Elim as PackedElim>::Skiff: Freeze,
<Elim as PackedElim>::Submarine: Freeze,
<Elim as PackedElim>::Carriage: Freeze,
<Elim as PackedElim>::Cart: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: RefUnwindSafe,
<Elim as PackedElim>::AirBalloon: RefUnwindSafe,
<Elim as PackedElim>::SailBoat: RefUnwindSafe,
<Elim as PackedElim>::Galleon: RefUnwindSafe,
<Elim as PackedElim>::Volume: RefUnwindSafe,
<Elim as PackedElim>::Skiff: RefUnwindSafe,
<Elim as PackedElim>::Submarine: RefUnwindSafe,
<Elim as PackedElim>::Carriage: RefUnwindSafe,
<Elim as PackedElim>::Cart: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: Send,
<Elim as PackedElim>::AirBalloon: Send,
<Elim as PackedElim>::SailBoat: Send,
<Elim as PackedElim>::Galleon: Send,
<Elim as PackedElim>::Volume: Send,
<Elim as PackedElim>::Skiff: Send,
<Elim as PackedElim>::Submarine: Send,
<Elim as PackedElim>::Carriage: Send,
<Elim as PackedElim>::Cart: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: Sync,
<Elim as PackedElim>::AirBalloon: Sync,
<Elim as PackedElim>::SailBoat: Sync,
<Elim as PackedElim>::Galleon: Sync,
<Elim as PackedElim>::Volume: Sync,
<Elim as PackedElim>::Skiff: Sync,
<Elim as PackedElim>::Submarine: Sync,
<Elim as PackedElim>::Carriage: Sync,
<Elim as PackedElim>::Cart: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: Unpin,
<Elim as PackedElim>::AirBalloon: Unpin,
<Elim as PackedElim>::SailBoat: Unpin,
<Elim as PackedElim>::Galleon: Unpin,
<Elim as PackedElim>::Volume: Unpin,
<Elim as PackedElim>::Skiff: Unpin,
<Elim as PackedElim>::Submarine: Unpin,
<Elim as PackedElim>::Carriage: Unpin,
<Elim as PackedElim>::Cart: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::DefaultAirship: UnwindSafe,
<Elim as PackedElim>::AirBalloon: UnwindSafe,
<Elim as PackedElim>::SailBoat: UnwindSafe,
<Elim as PackedElim>::Galleon: UnwindSafe,
<Elim as PackedElim>::Volume: UnwindSafe,
<Elim as PackedElim>::Skiff: UnwindSafe,
<Elim as PackedElim>::Submarine: UnwindSafe,
<Elim as PackedElim>::Carriage: UnwindSafe,
<Elim as PackedElim>::Cart: 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