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

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]

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

impl<Id, T> Alias<Id, T> where
    T: TypeExt<Id = Id> + Clone,
    Id: Clone + PartialEq
[src]

Returns the actual type of the alias

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

Trait Implementations

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

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

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

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

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

Performs copy-assignment from source. Read more

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

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

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

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.

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

impl<Id, T> SerializeState<SeSeed> for Alias<Id, T> where
    T: SerializeState<SeSeed>, 
[src]

impl<'de, Id, T> DeserializeState<'de, Seed<Id, T>> for Alias<Id, T> where
    T: DeserializeState<'de, Seed<Id, T>> + Clone + From<Type<Id, T>> + Any,
    Id: DeserializeState<'de, Seed<Id, T>> + Clone + Any
[src]

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]