pub enum Proj<Elim: PackedElim> {
species(Elim::species),
body_type(Elim::body_type),
hair_style(Elim::hair_style),
beard(Elim::beard),
eyes(Elim::eyes),
accessory(Elim::accessory),
hair_color(Elim::hair_color),
skin(Elim::skin),
eye_color(Elim::eye_color),
}
Variants§
species(Elim::species)
body_type(Elim::body_type)
hair_style(Elim::hair_style)
beard(Elim::beard)
eyes(Elim::eyes)
accessory(Elim::accessory)
hair_color(Elim::hair_color)
skin(Elim::skin)
eye_color(Elim::eye_color)
Trait Implementations§
source§impl<'de, Elim: PackedElim> Deserialize<'de> for Proj<Elim>where
Elim::species: Deserialize<'de>,
Elim::body_type: Deserialize<'de>,
Elim::hair_style: Deserialize<'de>,
Elim::beard: Deserialize<'de>,
Elim::eyes: Deserialize<'de>,
Elim::accessory: Deserialize<'de>,
Elim::hair_color: Deserialize<'de>,
Elim::skin: Deserialize<'de>,
Elim::eye_color: Deserialize<'de>,
impl<'de, Elim: PackedElim> Deserialize<'de> for Proj<Elim>where
Elim::species: Deserialize<'de>,
Elim::body_type: Deserialize<'de>,
Elim::hair_style: Deserialize<'de>,
Elim::beard: Deserialize<'de>,
Elim::eyes: Deserialize<'de>,
Elim::accessory: Deserialize<'de>,
Elim::hair_color: Deserialize<'de>,
Elim::skin: Deserialize<'de>,
Elim::eye_color: 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 Proj<Elim>
impl<Elim: PackedElim> Serialize for Proj<Elim>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>where
&'b Elim::species: Typed<((&'a Species,), Context), Type, S>,
&'b Elim::body_type: Typed<((&'a BodyType,), Context), Type, S>,
&'b Elim::hair_style: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::beard: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::eyes: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::accessory: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::hair_color: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::skin: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::eye_color: Typed<((&'a u8,), Context), Type, S>,
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>where
&'b Elim::species: Typed<((&'a Species,), Context), Type, S>,
&'b Elim::body_type: Typed<((&'a BodyType,), Context), Type, S>,
&'b Elim::hair_style: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::beard: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::eyes: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::accessory: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::hair_color: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::skin: Typed<((&'a u8,), Context), Type, S>,
&'b Elim::eye_color: Typed<((&'a u8,), Context), Type, S>,
Auto Trait Implementations§
impl<Elim> Freeze for Proj<Elim>where
<Elim as PackedElim>::species: Freeze,
<Elim as PackedElim>::body_type: Freeze,
<Elim as PackedElim>::hair_style: Freeze,
<Elim as PackedElim>::beard: Freeze,
<Elim as PackedElim>::eyes: Freeze,
<Elim as PackedElim>::accessory: Freeze,
<Elim as PackedElim>::hair_color: Freeze,
<Elim as PackedElim>::skin: Freeze,
<Elim as PackedElim>::eye_color: Freeze,
impl<Elim> RefUnwindSafe for Proj<Elim>where
<Elim as PackedElim>::species: RefUnwindSafe,
<Elim as PackedElim>::body_type: RefUnwindSafe,
<Elim as PackedElim>::hair_style: RefUnwindSafe,
<Elim as PackedElim>::beard: RefUnwindSafe,
<Elim as PackedElim>::eyes: RefUnwindSafe,
<Elim as PackedElim>::accessory: RefUnwindSafe,
<Elim as PackedElim>::hair_color: RefUnwindSafe,
<Elim as PackedElim>::skin: RefUnwindSafe,
<Elim as PackedElim>::eye_color: RefUnwindSafe,
impl<Elim> Send for Proj<Elim>where
<Elim as PackedElim>::species: Send,
<Elim as PackedElim>::body_type: Send,
<Elim as PackedElim>::hair_style: Send,
<Elim as PackedElim>::beard: Send,
<Elim as PackedElim>::eyes: Send,
<Elim as PackedElim>::accessory: Send,
<Elim as PackedElim>::hair_color: Send,
<Elim as PackedElim>::skin: Send,
<Elim as PackedElim>::eye_color: Send,
impl<Elim> Sync for Proj<Elim>where
<Elim as PackedElim>::species: Sync,
<Elim as PackedElim>::body_type: Sync,
<Elim as PackedElim>::hair_style: Sync,
<Elim as PackedElim>::beard: Sync,
<Elim as PackedElim>::eyes: Sync,
<Elim as PackedElim>::accessory: Sync,
<Elim as PackedElim>::hair_color: Sync,
<Elim as PackedElim>::skin: Sync,
<Elim as PackedElim>::eye_color: Sync,
impl<Elim> Unpin for Proj<Elim>where
<Elim as PackedElim>::species: Unpin,
<Elim as PackedElim>::body_type: Unpin,
<Elim as PackedElim>::hair_style: Unpin,
<Elim as PackedElim>::beard: Unpin,
<Elim as PackedElim>::eyes: Unpin,
<Elim as PackedElim>::accessory: Unpin,
<Elim as PackedElim>::hair_color: Unpin,
<Elim as PackedElim>::skin: Unpin,
<Elim as PackedElim>::eye_color: Unpin,
impl<Elim> UnwindSafe for Proj<Elim>where
<Elim as PackedElim>::species: UnwindSafe,
<Elim as PackedElim>::body_type: UnwindSafe,
<Elim as PackedElim>::hair_style: UnwindSafe,
<Elim as PackedElim>::beard: UnwindSafe,
<Elim as PackedElim>::eyes: UnwindSafe,
<Elim as PackedElim>::accessory: UnwindSafe,
<Elim as PackedElim>::hair_color: UnwindSafe,
<Elim as PackedElim>::skin: UnwindSafe,
<Elim as PackedElim>::eye_color: 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