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: FileSpanSpan where this load is written
module_id: &'a strModule being loaded
symbols: SmallMap<&'a str, &'a str>Symbols loaded from that module (local ident -> source ident)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AstLoad<'a>
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