[][src]Enum firm_construction::ast::ClassMemberKindDiscriminants

pub enum ClassMemberKindDiscriminants {
    Field,
    Method,
    MainMethod,
}

Auto-generated discriminant enum variants

Variants

Trait Implementations

impl Copy for ClassMemberKindDiscriminants
[src]

impl Ord for ClassMemberKindDiscriminants
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq<ClassMemberKindDiscriminants> for ClassMemberKindDiscriminants
[src]

This method tests for !=.

impl Display for ClassMemberKindDiscriminants
[src]

impl Eq for ClassMemberKindDiscriminants
[src]

impl Debug for ClassMemberKindDiscriminants
[src]

impl<'t> From<ClassMemberKind<'t>> for ClassMemberKindDiscriminants
[src]

impl<'t, '_enum> From<&'_enum ClassMemberKind<'t>> for ClassMemberKindDiscriminants
[src]

impl Clone for ClassMemberKindDiscriminants
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ClassMemberKindDiscriminants> for ClassMemberKindDiscriminants
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for ClassMemberKindDiscriminants
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for ClassMemberKindDiscriminants

impl Sync for ClassMemberKindDiscriminants

Blanket Implementations

impl<T> From for T
[src]

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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