[][src]Struct phosphorus::Enum

pub struct Enum {
    pub ident: String,
    pub value: String,
    pub cast: bool,
    pub alias: Option<String>,
    pub ty: Cow<'static, str>,
}

Fields

ident: Stringvalue: Stringcast: boolalias: Option<String>ty: Cow<'static, str>

Trait Implementations

impl Clone for Enum[src]

impl Eq for Enum[src]

impl Ord for Enum[src]

impl PartialEq<Enum> for Enum[src]

impl PartialOrd<Enum> for Enum[src]

impl Debug for Enum[src]

impl Hash for Enum[src]

impl StructuralPartialEq for Enum[src]

impl StructuralEq for Enum[src]

Auto Trait Implementations

impl Send for Enum

impl Sync for Enum

impl Unpin for Enum

impl UnwindSafe for Enum

impl RefUnwindSafe for Enum

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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