Struct bitsy_lang::ast::Package  
source · pub struct Package {
    pub imports: Vec<Import>,
    pub items: Vec<Item>,
}Expand description
A Package is a compilation unit built from a single file.
Fields§
§imports: Vec<Import>§items: Vec<Item>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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