Struct edlang_ast::Import
source · pub struct Import {
pub module: Vec<Ident>,
pub symbols: Vec<Ident>,
pub span: Span,
}
Fields§
§module: Vec<Ident>
§symbols: Vec<Ident>
If symbols is empty then the last path ident is the symbol.
span: Span
Trait Implementations§
source§impl Ord for Import
impl Ord for Import
source§impl PartialEq for Import
impl PartialEq for Import
source§impl PartialOrd for Import
impl PartialOrd for Import
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Import
impl StructuralPartialEq for Import
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
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