pub struct Alias<'a> {
    pub span: Span,
    pub id: Option<Id<'a>>,
    pub name: Option<NameAnnotation<'a>>,
    pub source: AliasSource<'a>,
    pub kind: ExportKind,
}Expand description
An alias statement used to juggle indices with nested modules.
Fields
span: SpanWhere this alias was defined.
id: Option<Id<'a>>An identifier that this alias is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>An optional name for this alias stored in the custom name section.
source: AliasSource<'a>The source of this alias.
kind: ExportKindThe kind of item that’s being aliased.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Alias<'a>
impl<'a> Send for Alias<'a>
impl<'a> Sync for Alias<'a>
impl<'a> Unpin for Alias<'a>
impl<'a> UnwindSafe for Alias<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more