Struct mml::core::item::state::abstraction::enumerate::Enum [] [src]

pub struct Enum<'a> {
    pub vis: &'a Visibility,
    pub name: InternedString,
    pub params: Vec<InternedString>,
    pub variants: Vec<(InternedString, Vec<String>)>,
}

The structure Enum is a enumerate abstract element.

Fields

Trait Implementations

impl<'a> Debug for Enum<'a>
[src]

Formats the value using the given formatter.

impl<'a> Eq for Enum<'a>
[src]

impl<'a> PartialEq for Enum<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Clone for Enum<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<(&'a Item, &'a Vec<TyParam>, &'a Vec<Variant>)> for Enum<'a>
[src]

Performs the conversion.

impl<'a> Display for Enum<'a>
[src]

Formats the value using the given formatter. Read more