pub struct AliasDecl {
pub id: NodeId,
pub span: Span,
pub name: PrimaryName,
pub subtype: Option<SubtypeInd>,
pub target: CompoundName,
}
Expand description
An alias declaration.
Fields§
§id: NodeId
§span: Span
§name: PrimaryName
§subtype: Option<SubtypeInd>
§target: CompoundName
Trait Implementations§
impl Eq for AliasDecl
impl StructuralPartialEq for AliasDecl
Auto Trait Implementations§
impl Freeze for AliasDecl
impl RefUnwindSafe for AliasDecl
impl Send for AliasDecl
impl Sync for AliasDecl
impl Unpin for AliasDecl
impl UnwindSafe for AliasDecl
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