Enum veloren_common_net::synced_components::inner::body::humanoid::body::Proj
pub enum Proj<Elim>where
Elim: PackedElim,{
species(<Elim as PackedElim>::species),
body_type(<Elim as PackedElim>::body_type),
hair_style(<Elim as PackedElim>::hair_style),
beard(<Elim as PackedElim>::beard),
eyes(<Elim as PackedElim>::eyes),
accessory(<Elim as PackedElim>::accessory),
hair_color(<Elim as PackedElim>::hair_color),
skin(<Elim as PackedElim>::skin),
eye_color(<Elim as PackedElim>::eye_color),
}
Variants§
species(<Elim as PackedElim>::species)
body_type(<Elim as PackedElim>::body_type)
hair_style(<Elim as PackedElim>::hair_style)
beard(<Elim as PackedElim>::beard)
eyes(<Elim as PackedElim>::eyes)
accessory(<Elim as PackedElim>::accessory)
hair_color(<Elim as PackedElim>::hair_color)
skin(<Elim as PackedElim>::skin)
eye_color(<Elim as PackedElim>::eye_color)
Trait Implementations§
§impl<'de, Elim> Deserialize<'de> for Proj<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::species: Deserialize<'de>,
<Elim as PackedElim>::body_type: Deserialize<'de>,
<Elim as PackedElim>::hair_style: Deserialize<'de>,
<Elim as PackedElim>::beard: Deserialize<'de>,
<Elim as PackedElim>::eyes: Deserialize<'de>,
<Elim as PackedElim>::accessory: Deserialize<'de>,
<Elim as PackedElim>::hair_color: Deserialize<'de>,
<Elim as PackedElim>::skin: Deserialize<'de>,
<Elim as PackedElim>::eye_color: Deserialize<'de>,
impl<'de, Elim> Deserialize<'de> for Proj<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::species: Deserialize<'de>,
<Elim as PackedElim>::body_type: Deserialize<'de>,
<Elim as PackedElim>::hair_style: Deserialize<'de>,
<Elim as PackedElim>::beard: Deserialize<'de>,
<Elim as PackedElim>::eyes: Deserialize<'de>,
<Elim as PackedElim>::accessory: Deserialize<'de>,
<Elim as PackedElim>::hair_color: Deserialize<'de>,
<Elim as PackedElim>::skin: Deserialize<'de>,
<Elim as PackedElim>::eye_color: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Proj<Elim>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Proj<Elim>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<Elim> Serialize for Proj<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::species: Serialize,
<Elim as PackedElim>::body_type: Serialize,
<Elim as PackedElim>::hair_style: Serialize,
<Elim as PackedElim>::beard: Serialize,
<Elim as PackedElim>::eyes: Serialize,
<Elim as PackedElim>::accessory: Serialize,
<Elim as PackedElim>::hair_color: Serialize,
<Elim as PackedElim>::skin: Serialize,
<Elim as PackedElim>::eye_color: Serialize,
impl<Elim> Serialize for Proj<Elim>where
Elim: PackedElim,
<Elim as PackedElim>::species: Serialize,
<Elim as PackedElim>::body_type: Serialize,
<Elim as PackedElim>::hair_style: Serialize,
<Elim as PackedElim>::beard: Serialize,
<Elim as PackedElim>::eyes: Serialize,
<Elim as PackedElim>::accessory: Serialize,
<Elim as PackedElim>::hair_color: Serialize,
<Elim as PackedElim>::skin: Serialize,
<Elim as PackedElim>::eye_color: 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 Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>where
Elim: PackedElim,
&'b <Elim as PackedElim>::species: Typed<((&'a Species,), Context), Type, S>,
&'b <Elim as PackedElim>::body_type: Typed<((&'a BodyType,), Context), Type, S>,
&'b <Elim as PackedElim>::hair_style: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::beard: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::eyes: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::accessory: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::hair_color: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::skin: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::eye_color: Typed<((&'a u8,), Context), Type, S>,
impl<'a, 'b, Elim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>where
Elim: PackedElim,
&'b <Elim as PackedElim>::species: Typed<((&'a Species,), Context), Type, S>,
&'b <Elim as PackedElim>::body_type: Typed<((&'a BodyType,), Context), Type, S>,
&'b <Elim as PackedElim>::hair_style: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::beard: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::eyes: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::accessory: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::hair_color: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::skin: Typed<((&'a u8,), Context), Type, S>,
&'b <Elim as PackedElim>::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