Struct veloren_common::typed::ElimProj
source · pub struct ElimProj<Proj> {
pub proj: Proj,
}
Fields§
§proj: Proj
Trait Implementations§
source§impl<'de, Proj> Deserialize<'de> for ElimProj<Proj>where
Proj: Deserialize<'de>,
impl<'de, Proj> Deserialize<'de> for ElimProj<Proj>where
Proj: 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<'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>,
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
source§impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
impl<'a, 'b, Elim: PackedElim, Context, Type, S> Typed<((&'a Body,), Context), Type, S> for &'b ElimProj<Proj<Elim>>
Auto Trait Implementations§
impl<Proj> Freeze for ElimProj<Proj>where
Proj: Freeze,
impl<Proj> RefUnwindSafe for ElimProj<Proj>where
Proj: RefUnwindSafe,
impl<Proj> Send for ElimProj<Proj>where
Proj: Send,
impl<Proj> Sync for ElimProj<Proj>where
Proj: Sync,
impl<Proj> Unpin for ElimProj<Proj>where
Proj: Unpin,
impl<Proj> UnwindSafe for ElimProj<Proj>where
Proj: 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