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

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

Fields

name: Id

Name of the Alias

args: Vec<Generic<Id>>

Arguments to the alias

typ: Option<T>

The type which is being aliased or None if the type is abstract

Trait Implementations

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

fn hash<__HIdT: Hasher>(&self, __arg_0: &mut __HIdT)

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

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

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

fn eq(&self, __arg_0: &AliasData<Id, T>) -> bool

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

fn ne(&self, __arg_0: &AliasData<Id, T>) -> bool

This method tests for !=.

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

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn clone(&self) -> AliasData<Id, T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more