Enum bitsy_lang::ast::Item  
source · pub enum Item {
    ModDef(ModDef),
    ExtDef(ModDef),
    EnumTypeDef(EnumTypeDef),
    StructTypeDef(StructTypeDef),
    AltTypeDef(AltTypeDef),
    FnDef(FnDef),
    TbDef(TbDef),
}Expand description
A top-level declaration in a Package.
Variants§
ModDef(ModDef)
ExtDef(ModDef)
EnumTypeDef(EnumTypeDef)
StructTypeDef(StructTypeDef)
AltTypeDef(AltTypeDef)
FnDef(FnDef)
TbDef(TbDef)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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