Struct gluon_base::types::AliasRef [−][src]
pub struct AliasRef<Id, T> where
T: TypePtr<Id = Id>, {
pub group: Arc<[AliasData<Id, T>]>,
// some fields omitted
}
Expand description
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
group: Arc<[AliasData<Id, T>]>
The other aliases defined in this group
Implementations
Methods from Deref<Target = AliasData<Id, T>>
Returns the type aliased by self
with out Type::Ident
resolved to their actual
Type::Alias
representation
Trait Implementations
Auto Trait Implementations
impl<Id, T> RefUnwindSafe for AliasRef<Id, T> where
Id: RefUnwindSafe,
T: RefUnwindSafe,
<T as TypePtr>::Generics: RefUnwindSafe,
impl<Id, T> Send for AliasRef<Id, T> where
Id: Send + Sync,
T: Send + Sync,
<T as TypePtr>::Generics: Send + Sync,
impl<Id, T> Sync for AliasRef<Id, T> where
Id: Send + Sync,
T: Send + Sync,
<T as TypePtr>::Generics: Send + Sync,
impl<Id, T> UnwindSafe for AliasRef<Id, T> where
Id: RefUnwindSafe,
T: RefUnwindSafe,
<T as TypePtr>::Generics: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more