Struct gluon_base::types::AliasData [] [src]

pub struct AliasData<Id, T> {
    pub name: Id,
    pub args: Vec<Generic<Id>>,
    pub typ: T,
}

Data for a type alias. Probably you want to use Alias instead of this directly as Alias allows for cheap conversion back into a type as well.

Fields

Name of the Alias

Arguments to the alias

The type that is being aliased

Trait Implementations

impl<Id: Clone, T: Clone> Clone for AliasData<Id, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id: Debug, T: Debug> Debug for AliasData<Id, T>
[src]

Formats the value using the given formatter.

impl<Id: Eq, T: Eq> Eq for AliasData<Id, T>
[src]

impl<Id: PartialEq, T: PartialEq> PartialEq for AliasData<Id, T>
[src]

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

This method tests for !=.

impl<Id: Hash, T: Hash> Hash for AliasData<Id, T>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.