[][src]Enum esl::Sex

pub enum Sex {
    Male,
    Female,
}

Variants

Male
Female

Trait Implementations

impl Clone for Sex[src]

impl Copy for Sex[src]

impl Debug for Sex[src]

impl<'de> Deserialize<'de> for Sex[src]

impl Display for Sex[src]

impl Eq for Sex[src]

impl FromPrimitive for Sex[src]

impl FromStr for Sex[src]

type Err = ParseEnumError

The associated error which can be returned from parsing.

impl Hash for Sex[src]

impl Index<Sex> for RaceAttribute[src]

type Output = u32

The returned type after indexing.

impl Index<Sex> for RaceParameter[src]

type Output = f32

The returned type after indexing.

impl IndexMut<Sex> for RaceAttribute[src]

impl IndexMut<Sex> for RaceParameter[src]

impl Ord for Sex[src]

impl PartialEq<Sex> for Sex[src]

impl PartialOrd<Sex> for Sex[src]

impl Serialize for Sex[src]

impl StructuralEq for Sex[src]

impl StructuralPartialEq for Sex[src]

impl ToPrimitive for Sex[src]

Auto Trait Implementations

impl RefUnwindSafe for Sex

impl Send for Sex

impl Sync for Sex

impl Unpin for Sex

impl UnwindSafe for Sex

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.