pub struct Module {
pub name: Path,
pub nodes: Vec<SpannedItem<AstNode>>,
}
Fields§
§name: Path
§nodes: Vec<SpannedItem<AstNode>>
Trait Implementations§
Source§impl PrettyPrint for Module
impl PrettyPrint for Module
fn pretty_print(&self, interner: &SymbolInterner, indentation: usize) -> String
Auto Trait Implementations§
impl Freeze for Module
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