pub struct TypeAlias<'a> {
pub docs: Vec<DocComment<'a>>,
pub id: Ident<'a>,
pub kind: TypeAliasKind<'a>,
}
Expand description
Represents a type alias in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The docs for the type alias.
id: Ident<'a>
The identifier of the type alias.
kind: TypeAliasKind<'a>
The kind of type alias.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypeAlias<'a>
impl<'a> RefUnwindSafe for TypeAlias<'a>
impl<'a> Send for TypeAlias<'a>
impl<'a> Sync for TypeAlias<'a>
impl<'a> Unpin for TypeAlias<'a>
impl<'a> UnwindSafe for TypeAlias<'a>
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