Struct gluon_base::types::Alias[][src]

pub struct Alias<Id, T> { /* fields omitted */ }

An alias is wrapper around Type::Alias, allowing it to be cheaply converted to a type and dereferenced to AliasRef

Methods

impl<Id, T> Alias<Id, T> where
    T: From<Type<Id, T>>, 
[src]

Important traits for Vec<u8>

Important traits for &'a mut R

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

Returns the actual type of the alias

impl<Id> Alias<Id, ArcType<Id>> where
    Id: Clone
[src]

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

Trait Implementations

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

Formats the value using the given formatter. Read more

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

impl<Id: PartialEq, T: PartialEq> PartialEq for Alias<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 Alias<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 Alias<Id, T> where
    T: Deref<Target = Type<Id, T>>, 
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<Id, T> DerefMut for Alias<Id, T> where
    T: DerefMut<Target = Type<Id, T>>, 
[src]

Mutably dereferences the value.

impl<Id, T> From<AliasData<Id, T>> for Alias<Id, T> where
    T: From<Type<Id, T>>, 
[src]

Performs the conversion.

impl<Id, T> AsRef<T> for Alias<Id, T>
[src]

Important traits for &'a mut R

Performs the conversion.

Auto Trait Implementations

impl<Id, T> Send for Alias<Id, T> where
    Id: Send,
    T: Send

impl<Id, T> Sync for Alias<Id, T> where
    Id: Sync,
    T: Sync