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>
[src]
impl<Id, T> AliasData<Id, T>
ⓘImportant traits for &'a mut Rpub fn unresolved_type(&self) -> &T
[src]
ⓘImportant traits for &'a mut R
pub fn unresolved_type(&self) -> &T
Returns the type aliased by self
with out Type::Ident
resolved to their actual
Type::Alias
representation
ⓘImportant traits for &'a mut Rpub fn unresolved_type_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut R
pub fn unresolved_type_mut(&mut self) -> &mut T
impl<Id, T> AliasData<Id, T> where
T: From<Type<Id, T>>,
[src]
impl<Id, T> AliasData<Id, T> where
T: From<Type<Id, T>>,
impl<Id, T> AliasData<Id, T> where
T: Deref<Target = Type<Id, T>>,
[src]
impl<Id, T> AliasData<Id, T> where
T: Deref<Target = Type<Id, T>>,
pub fn params(&self) -> &[Generic<Id>]
[src]
pub fn params(&self) -> &[Generic<Id>]
ⓘImportant traits for &'a mut Rpub fn aliased_type(&self) -> &T
[src]
ⓘImportant traits for &'a mut R
pub fn aliased_type(&self) -> &T
impl<Id, T> AliasData<Id, T> where
T: From<Type<Id, T>>,
T: Deref<Target = Type<Id, T>>,
[src]
impl<Id, T> AliasData<Id, T> where
T: From<Type<Id, T>>,
T: Deref<Target = Type<Id, T>>,
Trait Implementations
impl<Id, T> From<AliasData<Id, T>> for Alias<Id, T> where
T: From<Type<Id, T>>,
[src]
impl<Id, T> From<AliasData<Id, T>> for Alias<Id, T> where
T: From<Type<Id, T>>,
impl<Id: Clone, T: Clone> Clone for AliasData<Id, T>
[src]
impl<Id: Clone, T: Clone> Clone for AliasData<Id, T>
fn clone(&self) -> 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[src]
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: Debug, T: Debug> Debug for AliasData<Id, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Id: Eq, T: Eq> Eq for AliasData<Id, T>
[src]
impl<Id: Eq, T: Eq> Eq for AliasData<Id, T>
impl<Id: PartialEq, T: PartialEq> PartialEq for AliasData<Id, T>
[src]
impl<Id: PartialEq, T: PartialEq> PartialEq for AliasData<Id, T>
fn eq(&self, other: &AliasData<Id, T>) -> bool
[src]
fn eq(&self, other: &AliasData<Id, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AliasData<Id, T>) -> bool
[src]
fn ne(&self, other: &AliasData<Id, T>) -> bool
This method tests for !=
.
impl<Id: Hash, T: Hash> Hash for AliasData<Id, T>
[src]
impl<Id: Hash, T: Hash> Hash for AliasData<Id, T>