Struct gluon_base::types::AliasRef[][src]

pub struct AliasRef<Id, T> {
    pub group: Arc<Vec<AliasData<Id, T>>>,
    // some fields omitted
}

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

The other aliases defined in this group

Methods

impl<Id, T> AliasRef<Id, T>
[src]

impl<Id, T> AliasRef<Id, T> where
    T: From<Type<Id, T>> + Deref<Target = Type<Id, T>> + Clone,
    Id: Clone + PartialEq
[src]

Methods from Deref<Target = AliasData<Id, T>>

Important traits for &'a mut R

Returns the type aliased by self with out Type::Ident resolved to their actual Type::Alias representation

Important traits for &'a [u8]

Important traits for &'a mut R

Trait Implementations

impl<Id: Clone, T: Clone> Clone for AliasRef<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 AliasRef<Id, T>
[src]

Formats the value using the given formatter. Read more

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

impl<Id: PartialEq, T: PartialEq> PartialEq for AliasRef<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 AliasRef<Id, T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<Id, T> Deref for AliasRef<Id, T>
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

impl<Id, T> Send for AliasRef<Id, T> where
    Id: Send + Sync,
    T: Send + Sync

impl<Id, T> Sync for AliasRef<Id, T> where
    Id: Send + Sync,
    T: Send + Sync