pub struct Alias {
pub name: Symbol,
pub of: TypeId,
}Expand description
A typedef name the program wrote, and what it stands for.
Fields§
§name: SymbolThe name.
of: TypeIdThe type it was written for, which is the same type the name resolves to rather than a type of its own.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnsafeUnpin for Alias
impl UnwindSafe for Alias
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more