Struct gluon_base::types::AliasData
[−]
[src]
pub struct AliasData<Id, T> { pub name: Id, // some fields omitted }
Fields
name: Id
Methods
impl<Id, T> AliasData<Id, T> where
T: From<Type<Id, T>>,
[src]
T: From<Type<Id, T>>,
fn new(name: Id, args: Vec<Generic<Id>>, typ: T) -> AliasData<Id, T>
[src]
fn unresolved_type(&self) -> &T
[src]
Returns the type aliased by self
with out Type::Ident
resolved to their actual
Type::Alias
representation
fn unresolved_type_mut(&mut self) -> &mut T
[src]
impl<Id, T> AliasData<Id, T> where
T: Deref<Target = Type<Id, T>>,
[src]
T: Deref<Target = Type<Id, T>>,
Trait Implementations
impl<Id: Clone, T: Clone> Clone for AliasData<Id, T>
[src]
fn clone(&self) -> AliasData<Id, T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<Id: Debug, T: Debug> Debug for AliasData<Id, T>
[src]
impl<Id: Eq, T: Eq> Eq for AliasData<Id, T>
[src]
impl<Id: PartialEq, T: PartialEq> PartialEq for AliasData<Id, T>
[src]
fn eq(&self, __arg_0: &AliasData<Id, T>) -> bool
[src]
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
[src]
This method tests for !=
.