Struct gluon_base::types::AliasData
source · pub struct AliasData<Id, T> {
pub name: Id,
/* private fields */
}
Fields
name: Id
Implementations
sourceimpl<Id, T> AliasData<Id, T>
impl<Id, T> 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
pub fn unresolved_type_mut(&mut self) -> &mut T
Trait Implementations
sourceimpl<Id: PartialEq, T: PartialEq> PartialEq<AliasData<Id, T>> for AliasData<Id, T>
impl<Id: PartialEq, T: PartialEq> PartialEq<AliasData<Id, T>> for AliasData<Id, T>
impl<Id: Eq, T: Eq> Eq for AliasData<Id, T>
impl<Id, T> StructuralEq for AliasData<Id, T>
impl<Id, T> StructuralPartialEq for AliasData<Id, T>
Auto Trait Implementations
impl<Id, T> RefUnwindSafe for AliasData<Id, T>where
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<Id, T> Send for AliasData<Id, T>where
Id: Send,
T: Send,
impl<Id, T> Sync for AliasData<Id, T>where
Id: Sync,
T: Sync,
impl<Id, T> Unpin for AliasData<Id, T>where
Id: Unpin,
T: Unpin,
impl<Id, T> UnwindSafe for AliasData<Id, T>where
Id: UnwindSafe,
T: UnwindSafe,
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