Struct gluon_base::types::Alias [−][src]
pub struct Alias<Id, T> { /* fields omitted */ }
Expand description
An alias is wrapper around Type::Alias
, allowing it to be cheaply converted to a type and
dereferenced to AliasRef
Implementations
pub fn new_with(
context: &mut impl TypeContext<Id, T> + ?Sized,
name: Id,
args: T::Generics,
typ: T
) -> Self
Returns the actual type of the alias
Methods from Deref<Target = AliasRef<Id, T>>
Trait Implementations
Auto Trait Implementations
impl<Id, T> RefUnwindSafe for Alias<Id, T> where
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<Id, T> UnwindSafe for Alias<Id, T> where
Id: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more