Struct mml::syntax::item::state::abstraction::extend::Trait [] [src]

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

Fields

Visibility

Trait Implementations

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

Formats the value using the given formatter.

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

impl<'a> PartialEq for Trait<'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 Trait<'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<TraitItem>)> for Trait<'a>
[src]

Performs the conversion.

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

Formats the value using the given formatter. Read more