pub struct AstLoad<'a> {
pub span: FileSpan,
pub module_id: &'a str,
pub symbols: SmallMap<&'a str, &'a str>,
}
Expand description
A load
statement loading zero or more symbols from another module.
Fields§
§span: FileSpan
Span where this load is written
module_id: &'a str
Module being loaded
symbols: SmallMap<&'a str, &'a str>
Symbols loaded from that module (local ident -> source ident)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AstLoad<'a>
impl<'a> Send for AstLoad<'a>
impl<'a> Sync for AstLoad<'a>
impl<'a> Unpin for AstLoad<'a>
impl<'a> UnwindSafe for AstLoad<'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