#[repr(u32)]pub enum EyeColor {
Show 22 variants
AmberOrange = 0,
AmberYellow = 1,
BrightBrown = 2,
CornflowerBlue = 3,
CuriousGreen = 4,
EmeraldGreen = 5,
ExoticPurple = 6,
FrozenBlue = 7,
GhastlyYellow = 8,
LoyalBrown = 9,
MagicPurple = 10,
NobleBlue = 11,
PineGreen = 12,
PumpkinOrange = 13,
RubyRed = 14,
RegalPurple = 15,
RustBrown = 16,
SapphireBlue = 17,
SulfurYellow = 18,
ToxicGreen = 19,
ViciousRed = 20,
VigorousBlack = 21,
}
Variants§
AmberOrange = 0
AmberYellow = 1
BrightBrown = 2
CornflowerBlue = 3
CuriousGreen = 4
EmeraldGreen = 5
ExoticPurple = 6
FrozenBlue = 7
GhastlyYellow = 8
LoyalBrown = 9
MagicPurple = 10
NobleBlue = 11
PineGreen = 12
PumpkinOrange = 13
RubyRed = 14
RegalPurple = 15
RustBrown = 16
SapphireBlue = 17
SulfurYellow = 18
ToxicGreen = 19
ViciousRed = 20
VigorousBlack = 21
Implementations§
source§impl EyeColor
impl EyeColor
Trait Implementations§
source§impl<'de> Deserialize<'de> for EyeColor
impl<'de> Deserialize<'de> for EyeColor
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<Target> PackedElim for WeakHead<EyeColor, Target>
impl<Target> PackedElim for WeakHead<EyeColor, Target>
type AmberOrange = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type AmberYellow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type BrightBrown = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type CornflowerBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type CuriousGreen = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type EmeraldGreen = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type ExoticPurple = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type FrozenBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type GhastlyYellow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type LoyalBrown = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type MagicPurple = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type NobleBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type PineGreen = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type PumpkinOrange = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type RubyRed = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type RegalPurple = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type RustBrown = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type SapphireBlue = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type SulfurYellow = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type ToxicGreen = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type ViciousRed = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
type VigorousBlack = <WeakHead<Pure<Target>, Target> as SynthTyped<(), Target>>::Expr
source§impl PartialEq for EyeColor
impl PartialEq for EyeColor
source§impl<Context, Target> SynthTyped<((EyeColor,), Context), Target> for WeakHead<EyeColor, Target>
impl<Context, Target> SynthTyped<((EyeColor,), Context), Target> for WeakHead<EyeColor, Target>
impl Copy for EyeColor
impl Eq for EyeColor
impl StructuralPartialEq for EyeColor
Auto Trait Implementations§
impl Freeze for EyeColor
impl RefUnwindSafe for EyeColor
impl Send for EyeColor
impl Sync for EyeColor
impl Unpin for EyeColor
impl UnwindSafe for EyeColor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<C, M> ConvertSaveload<M> for C
impl<C, M> ConvertSaveload<M> for C
§type Error = Infallible
type Error = Infallible
Error may occur during serialization or deserialization of component
§fn convert_into<F>(
&self,
_: F,
) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
fn convert_into<F>( &self, _: F, ) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
Convert this data type into serializable form (
Data
) using
entity to marker mapping function§fn convert_from<F>(
data: <C as ConvertSaveload<M>>::Data,
_: F,
) -> Result<C, <C as ConvertSaveload<M>>::Error>
fn convert_from<F>( data: <C as ConvertSaveload<M>>::Data, _: F, ) -> Result<C, <C as ConvertSaveload<M>>::Error>
Convert this data from a deserializable form (
Data
) using
entity to marker mapping function§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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