Struct veloren_common_net::synced_components::inner::body::quadruped_low::species::Cases
pub struct Cases<Elim>where
Elim: PackedElim,{Show 24 fields
pub Crocodile: <Elim as PackedElim>::Crocodile,
pub Alligator: <Elim as PackedElim>::Alligator,
pub Salamander: <Elim as PackedElim>::Salamander,
pub Monitor: <Elim as PackedElim>::Monitor,
pub Asp: <Elim as PackedElim>::Asp,
pub Tortoise: <Elim as PackedElim>::Tortoise,
pub Pangolin: <Elim as PackedElim>::Pangolin,
pub Maneater: <Elim as PackedElim>::Maneater,
pub Sandshark: <Elim as PackedElim>::Sandshark,
pub Hakulaq: <Elim as PackedElim>::Hakulaq,
pub Lavadrake: <Elim as PackedElim>::Lavadrake,
pub Basilisk: <Elim as PackedElim>::Basilisk,
pub Deadwood: <Elim as PackedElim>::Deadwood,
pub Icedrake: <Elim as PackedElim>::Icedrake,
pub SeaCrocodile: <Elim as PackedElim>::SeaCrocodile,
pub Dagon: <Elim as PackedElim>::Dagon,
pub Rocksnapper: <Elim as PackedElim>::Rocksnapper,
pub Rootsnapper: <Elim as PackedElim>::Rootsnapper,
pub Reefsnapper: <Elim as PackedElim>::Reefsnapper,
pub Elbst: <Elim as PackedElim>::Elbst,
pub Mossdrake: <Elim as PackedElim>::Mossdrake,
pub Driggle: <Elim as PackedElim>::Driggle,
pub Snaretongue: <Elim as PackedElim>::Snaretongue,
pub Hydra: <Elim as PackedElim>::Hydra,
}
Fields§
§Crocodile: <Elim as PackedElim>::Crocodile
§Alligator: <Elim as PackedElim>::Alligator
§Salamander: <Elim as PackedElim>::Salamander
§Monitor: <Elim as PackedElim>::Monitor
§Asp: <Elim as PackedElim>::Asp
§Tortoise: <Elim as PackedElim>::Tortoise
§Pangolin: <Elim as PackedElim>::Pangolin
§Maneater: <Elim as PackedElim>::Maneater
§Sandshark: <Elim as PackedElim>::Sandshark
§Hakulaq: <Elim as PackedElim>::Hakulaq
§Lavadrake: <Elim as PackedElim>::Lavadrake
§Basilisk: <Elim as PackedElim>::Basilisk
§Deadwood: <Elim as PackedElim>::Deadwood
§Icedrake: <Elim as PackedElim>::Icedrake
§SeaCrocodile: <Elim as PackedElim>::SeaCrocodile
§Dagon: <Elim as PackedElim>::Dagon
§Rocksnapper: <Elim as PackedElim>::Rocksnapper
§Rootsnapper: <Elim as PackedElim>::Rootsnapper
§Reefsnapper: <Elim as PackedElim>::Reefsnapper
§Elbst: <Elim as PackedElim>::Elbst
§Mossdrake: <Elim as PackedElim>::Mossdrake
§Driggle: <Elim as PackedElim>::Driggle
§Snaretongue: <Elim as PackedElim>::Snaretongue
§Hydra: <Elim as PackedElim>::Hydra
Trait Implementations§
§impl<'de, Elim> Deserialize<'de> for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Crocodile: Deserialize<'de>,
<Elim as PackedElim>::Alligator: Deserialize<'de>,
<Elim as PackedElim>::Salamander: Deserialize<'de>,
<Elim as PackedElim>::Monitor: Deserialize<'de>,
<Elim as PackedElim>::Asp: Deserialize<'de>,
<Elim as PackedElim>::Tortoise: Deserialize<'de>,
<Elim as PackedElim>::Pangolin: Deserialize<'de>,
<Elim as PackedElim>::Maneater: Deserialize<'de>,
<Elim as PackedElim>::Sandshark: Deserialize<'de>,
<Elim as PackedElim>::Hakulaq: Deserialize<'de>,
<Elim as PackedElim>::Lavadrake: Deserialize<'de>,
<Elim as PackedElim>::Basilisk: Deserialize<'de>,
<Elim as PackedElim>::Deadwood: Deserialize<'de>,
<Elim as PackedElim>::Icedrake: Deserialize<'de>,
<Elim as PackedElim>::SeaCrocodile: Deserialize<'de>,
<Elim as PackedElim>::Dagon: Deserialize<'de>,
<Elim as PackedElim>::Rocksnapper: Deserialize<'de>,
<Elim as PackedElim>::Rootsnapper: Deserialize<'de>,
<Elim as PackedElim>::Reefsnapper: Deserialize<'de>,
<Elim as PackedElim>::Elbst: Deserialize<'de>,
<Elim as PackedElim>::Mossdrake: Deserialize<'de>,
<Elim as PackedElim>::Driggle: Deserialize<'de>,
<Elim as PackedElim>::Snaretongue: Deserialize<'de>,
<Elim as PackedElim>::Hydra: Deserialize<'de>,
impl<'de, Elim> Deserialize<'de> for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Crocodile: Deserialize<'de>,
<Elim as PackedElim>::Alligator: Deserialize<'de>,
<Elim as PackedElim>::Salamander: Deserialize<'de>,
<Elim as PackedElim>::Monitor: Deserialize<'de>,
<Elim as PackedElim>::Asp: Deserialize<'de>,
<Elim as PackedElim>::Tortoise: Deserialize<'de>,
<Elim as PackedElim>::Pangolin: Deserialize<'de>,
<Elim as PackedElim>::Maneater: Deserialize<'de>,
<Elim as PackedElim>::Sandshark: Deserialize<'de>,
<Elim as PackedElim>::Hakulaq: Deserialize<'de>,
<Elim as PackedElim>::Lavadrake: Deserialize<'de>,
<Elim as PackedElim>::Basilisk: Deserialize<'de>,
<Elim as PackedElim>::Deadwood: Deserialize<'de>,
<Elim as PackedElim>::Icedrake: Deserialize<'de>,
<Elim as PackedElim>::SeaCrocodile: Deserialize<'de>,
<Elim as PackedElim>::Dagon: Deserialize<'de>,
<Elim as PackedElim>::Rocksnapper: Deserialize<'de>,
<Elim as PackedElim>::Rootsnapper: Deserialize<'de>,
<Elim as PackedElim>::Reefsnapper: Deserialize<'de>,
<Elim as PackedElim>::Elbst: Deserialize<'de>,
<Elim as PackedElim>::Mossdrake: Deserialize<'de>,
<Elim as PackedElim>::Driggle: Deserialize<'de>,
<Elim as PackedElim>::Snaretongue: Deserialize<'de>,
<Elim as PackedElim>::Hydra: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Cases<Elim>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'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>::Crocodile: Serialize,
<Elim as PackedElim>::Alligator: Serialize,
<Elim as PackedElim>::Salamander: Serialize,
<Elim as PackedElim>::Monitor: Serialize,
<Elim as PackedElim>::Asp: Serialize,
<Elim as PackedElim>::Tortoise: Serialize,
<Elim as PackedElim>::Pangolin: Serialize,
<Elim as PackedElim>::Maneater: Serialize,
<Elim as PackedElim>::Sandshark: Serialize,
<Elim as PackedElim>::Hakulaq: Serialize,
<Elim as PackedElim>::Lavadrake: Serialize,
<Elim as PackedElim>::Basilisk: Serialize,
<Elim as PackedElim>::Deadwood: Serialize,
<Elim as PackedElim>::Icedrake: Serialize,
<Elim as PackedElim>::SeaCrocodile: Serialize,
<Elim as PackedElim>::Dagon: Serialize,
<Elim as PackedElim>::Rocksnapper: Serialize,
<Elim as PackedElim>::Rootsnapper: Serialize,
<Elim as PackedElim>::Reefsnapper: Serialize,
<Elim as PackedElim>::Elbst: Serialize,
<Elim as PackedElim>::Mossdrake: Serialize,
<Elim as PackedElim>::Driggle: Serialize,
<Elim as PackedElim>::Snaretongue: Serialize,
<Elim as PackedElim>::Hydra: Serialize,
impl<Elim> Serialize for Cases<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::Crocodile: Serialize,
<Elim as PackedElim>::Alligator: Serialize,
<Elim as PackedElim>::Salamander: Serialize,
<Elim as PackedElim>::Monitor: Serialize,
<Elim as PackedElim>::Asp: Serialize,
<Elim as PackedElim>::Tortoise: Serialize,
<Elim as PackedElim>::Pangolin: Serialize,
<Elim as PackedElim>::Maneater: Serialize,
<Elim as PackedElim>::Sandshark: Serialize,
<Elim as PackedElim>::Hakulaq: Serialize,
<Elim as PackedElim>::Lavadrake: Serialize,
<Elim as PackedElim>::Basilisk: Serialize,
<Elim as PackedElim>::Deadwood: Serialize,
<Elim as PackedElim>::Icedrake: Serialize,
<Elim as PackedElim>::SeaCrocodile: Serialize,
<Elim as PackedElim>::Dagon: Serialize,
<Elim as PackedElim>::Rocksnapper: Serialize,
<Elim as PackedElim>::Rootsnapper: Serialize,
<Elim as PackedElim>::Reefsnapper: Serialize,
<Elim as PackedElim>::Elbst: Serialize,
<Elim as PackedElim>::Mossdrake: Serialize,
<Elim as PackedElim>::Driggle: Serialize,
<Elim as PackedElim>::Snaretongue: Serialize,
<Elim as PackedElim>::Hydra: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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>::Crocodile: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Alligator: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Salamander: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Monitor: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Asp: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Tortoise: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Pangolin: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Maneater: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Sandshark: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Hakulaq: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Lavadrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Basilisk: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Deadwood: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Icedrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::SeaCrocodile: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Dagon: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Rocksnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Rootsnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Reefsnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Elbst: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Mossdrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Driggle: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Snaretongue: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Hydra: Typed<Context, Type, S>,
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>::Crocodile: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Alligator: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Salamander: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Monitor: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Asp: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Tortoise: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Pangolin: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Maneater: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Sandshark: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Hakulaq: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Lavadrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Basilisk: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Deadwood: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Icedrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::SeaCrocodile: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Dagon: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Rocksnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Rootsnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Reefsnapper: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Elbst: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Mossdrake: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Driggle: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Snaretongue: Typed<Context, Type, S>,
&'b <Elim as PackedElim>::Hydra: Typed<Context, Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Freeze,
<Elim as PackedElim>::Alligator: Freeze,
<Elim as PackedElim>::Salamander: Freeze,
<Elim as PackedElim>::Monitor: Freeze,
<Elim as PackedElim>::Asp: Freeze,
<Elim as PackedElim>::Tortoise: Freeze,
<Elim as PackedElim>::Pangolin: Freeze,
<Elim as PackedElim>::Maneater: Freeze,
<Elim as PackedElim>::Sandshark: Freeze,
<Elim as PackedElim>::Hakulaq: Freeze,
<Elim as PackedElim>::Lavadrake: Freeze,
<Elim as PackedElim>::Basilisk: Freeze,
<Elim as PackedElim>::Deadwood: Freeze,
<Elim as PackedElim>::Icedrake: Freeze,
<Elim as PackedElim>::SeaCrocodile: Freeze,
<Elim as PackedElim>::Dagon: Freeze,
<Elim as PackedElim>::Rocksnapper: Freeze,
<Elim as PackedElim>::Rootsnapper: Freeze,
<Elim as PackedElim>::Reefsnapper: Freeze,
<Elim as PackedElim>::Elbst: Freeze,
<Elim as PackedElim>::Mossdrake: Freeze,
<Elim as PackedElim>::Driggle: Freeze,
<Elim as PackedElim>::Snaretongue: Freeze,
<Elim as PackedElim>::Hydra: Freeze,
impl<Elim> RefUnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Crocodile: RefUnwindSafe,
<Elim as PackedElim>::Alligator: RefUnwindSafe,
<Elim as PackedElim>::Salamander: RefUnwindSafe,
<Elim as PackedElim>::Monitor: RefUnwindSafe,
<Elim as PackedElim>::Asp: RefUnwindSafe,
<Elim as PackedElim>::Tortoise: RefUnwindSafe,
<Elim as PackedElim>::Pangolin: RefUnwindSafe,
<Elim as PackedElim>::Maneater: RefUnwindSafe,
<Elim as PackedElim>::Sandshark: RefUnwindSafe,
<Elim as PackedElim>::Hakulaq: RefUnwindSafe,
<Elim as PackedElim>::Lavadrake: RefUnwindSafe,
<Elim as PackedElim>::Basilisk: RefUnwindSafe,
<Elim as PackedElim>::Deadwood: RefUnwindSafe,
<Elim as PackedElim>::Icedrake: RefUnwindSafe,
<Elim as PackedElim>::SeaCrocodile: RefUnwindSafe,
<Elim as PackedElim>::Dagon: RefUnwindSafe,
<Elim as PackedElim>::Rocksnapper: RefUnwindSafe,
<Elim as PackedElim>::Rootsnapper: RefUnwindSafe,
<Elim as PackedElim>::Reefsnapper: RefUnwindSafe,
<Elim as PackedElim>::Elbst: RefUnwindSafe,
<Elim as PackedElim>::Mossdrake: RefUnwindSafe,
<Elim as PackedElim>::Driggle: RefUnwindSafe,
<Elim as PackedElim>::Snaretongue: RefUnwindSafe,
<Elim as PackedElim>::Hydra: RefUnwindSafe,
impl<Elim> Send for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Send,
<Elim as PackedElim>::Alligator: Send,
<Elim as PackedElim>::Salamander: Send,
<Elim as PackedElim>::Monitor: Send,
<Elim as PackedElim>::Asp: Send,
<Elim as PackedElim>::Tortoise: Send,
<Elim as PackedElim>::Pangolin: Send,
<Elim as PackedElim>::Maneater: Send,
<Elim as PackedElim>::Sandshark: Send,
<Elim as PackedElim>::Hakulaq: Send,
<Elim as PackedElim>::Lavadrake: Send,
<Elim as PackedElim>::Basilisk: Send,
<Elim as PackedElim>::Deadwood: Send,
<Elim as PackedElim>::Icedrake: Send,
<Elim as PackedElim>::SeaCrocodile: Send,
<Elim as PackedElim>::Dagon: Send,
<Elim as PackedElim>::Rocksnapper: Send,
<Elim as PackedElim>::Rootsnapper: Send,
<Elim as PackedElim>::Reefsnapper: Send,
<Elim as PackedElim>::Elbst: Send,
<Elim as PackedElim>::Mossdrake: Send,
<Elim as PackedElim>::Driggle: Send,
<Elim as PackedElim>::Snaretongue: Send,
<Elim as PackedElim>::Hydra: Send,
impl<Elim> Sync for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Sync,
<Elim as PackedElim>::Alligator: Sync,
<Elim as PackedElim>::Salamander: Sync,
<Elim as PackedElim>::Monitor: Sync,
<Elim as PackedElim>::Asp: Sync,
<Elim as PackedElim>::Tortoise: Sync,
<Elim as PackedElim>::Pangolin: Sync,
<Elim as PackedElim>::Maneater: Sync,
<Elim as PackedElim>::Sandshark: Sync,
<Elim as PackedElim>::Hakulaq: Sync,
<Elim as PackedElim>::Lavadrake: Sync,
<Elim as PackedElim>::Basilisk: Sync,
<Elim as PackedElim>::Deadwood: Sync,
<Elim as PackedElim>::Icedrake: Sync,
<Elim as PackedElim>::SeaCrocodile: Sync,
<Elim as PackedElim>::Dagon: Sync,
<Elim as PackedElim>::Rocksnapper: Sync,
<Elim as PackedElim>::Rootsnapper: Sync,
<Elim as PackedElim>::Reefsnapper: Sync,
<Elim as PackedElim>::Elbst: Sync,
<Elim as PackedElim>::Mossdrake: Sync,
<Elim as PackedElim>::Driggle: Sync,
<Elim as PackedElim>::Snaretongue: Sync,
<Elim as PackedElim>::Hydra: Sync,
impl<Elim> Unpin for Cases<Elim>where
<Elim as PackedElim>::Crocodile: Unpin,
<Elim as PackedElim>::Alligator: Unpin,
<Elim as PackedElim>::Salamander: Unpin,
<Elim as PackedElim>::Monitor: Unpin,
<Elim as PackedElim>::Asp: Unpin,
<Elim as PackedElim>::Tortoise: Unpin,
<Elim as PackedElim>::Pangolin: Unpin,
<Elim as PackedElim>::Maneater: Unpin,
<Elim as PackedElim>::Sandshark: Unpin,
<Elim as PackedElim>::Hakulaq: Unpin,
<Elim as PackedElim>::Lavadrake: Unpin,
<Elim as PackedElim>::Basilisk: Unpin,
<Elim as PackedElim>::Deadwood: Unpin,
<Elim as PackedElim>::Icedrake: Unpin,
<Elim as PackedElim>::SeaCrocodile: Unpin,
<Elim as PackedElim>::Dagon: Unpin,
<Elim as PackedElim>::Rocksnapper: Unpin,
<Elim as PackedElim>::Rootsnapper: Unpin,
<Elim as PackedElim>::Reefsnapper: Unpin,
<Elim as PackedElim>::Elbst: Unpin,
<Elim as PackedElim>::Mossdrake: Unpin,
<Elim as PackedElim>::Driggle: Unpin,
<Elim as PackedElim>::Snaretongue: Unpin,
<Elim as PackedElim>::Hydra: Unpin,
impl<Elim> UnwindSafe for Cases<Elim>where
<Elim as PackedElim>::Crocodile: UnwindSafe,
<Elim as PackedElim>::Alligator: UnwindSafe,
<Elim as PackedElim>::Salamander: UnwindSafe,
<Elim as PackedElim>::Monitor: UnwindSafe,
<Elim as PackedElim>::Asp: UnwindSafe,
<Elim as PackedElim>::Tortoise: UnwindSafe,
<Elim as PackedElim>::Pangolin: UnwindSafe,
<Elim as PackedElim>::Maneater: UnwindSafe,
<Elim as PackedElim>::Sandshark: UnwindSafe,
<Elim as PackedElim>::Hakulaq: UnwindSafe,
<Elim as PackedElim>::Lavadrake: UnwindSafe,
<Elim as PackedElim>::Basilisk: UnwindSafe,
<Elim as PackedElim>::Deadwood: UnwindSafe,
<Elim as PackedElim>::Icedrake: UnwindSafe,
<Elim as PackedElim>::SeaCrocodile: UnwindSafe,
<Elim as PackedElim>::Dagon: UnwindSafe,
<Elim as PackedElim>::Rocksnapper: UnwindSafe,
<Elim as PackedElim>::Rootsnapper: UnwindSafe,
<Elim as PackedElim>::Reefsnapper: UnwindSafe,
<Elim as PackedElim>::Elbst: UnwindSafe,
<Elim as PackedElim>::Mossdrake: UnwindSafe,
<Elim as PackedElim>::Driggle: UnwindSafe,
<Elim as PackedElim>::Snaretongue: UnwindSafe,
<Elim as PackedElim>::Hydra: 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