Struct edlang_ast::Module
source · pub struct Module {
pub name: Ident,
pub imports: Vec<Import>,
pub contents: Vec<ModuleStatement>,
pub span: Span,
}
Fields§
§name: Ident
§imports: Vec<Import>
§contents: Vec<ModuleStatement>
§span: Span
Trait Implementations§
source§impl Ord for Module
impl Ord for Module
source§impl PartialEq for Module
impl PartialEq for Module
source§impl PartialOrd for Module
impl PartialOrd for Module
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 Module
impl StructuralEq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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