Struct gluon_base::types::AliasRef
source · 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<Vec<AliasData<Id, T>>>
The other aliases defined in this group
Implementations
Methods from Deref<Target = AliasData<Id, T>>
sourcepub fn unresolved_type(&self) -> &T
pub fn unresolved_type(&self) -> &T
Returns the type aliased by self
with out Type::Ident
resolved to their actual
Type::Alias
representation
Trait Implementations
sourceimpl<Id: PartialEq, T: PartialEq> PartialEq<AliasRef<Id, T>> for AliasRef<Id, T>
impl<Id: PartialEq, T: PartialEq> PartialEq<AliasRef<Id, T>> for AliasRef<Id, T>
impl<Id: Eq, T: Eq> Eq for AliasRef<Id, T>
impl<Id, T> StructuralEq for AliasRef<Id, T>
impl<Id, T> StructuralPartialEq for AliasRef<Id, T>
Auto Trait Implementations
impl<Id, T> RefUnwindSafe for AliasRef<Id, T>where
Id: RefUnwindSafe,
T: RefUnwindSafe,
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,
impl<Id, T> Unpin for AliasRef<Id, T>
impl<Id, T> UnwindSafe for AliasRef<Id, T>where
Id: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more