Enum bitsy_lang::Item 
source · pub enum Item {
    ModDef(Arc<Component>),
    ExtDef(Arc<Component>),
    EnumTypeDef(Arc<EnumTypeDef>),
    StructTypeDef(Arc<StructTypeDef>),
    AltTypeDef(Arc<AltTypeDef>),
    FnDef(Arc<FnDef>),
    TbDef(Arc<TbDef>),
}Expand description
A top-level declaration in a Package.
Variants§
ModDef(Arc<Component>)
ExtDef(Arc<Component>)
EnumTypeDef(Arc<EnumTypeDef>)
StructTypeDef(Arc<StructTypeDef>)
AltTypeDef(Arc<AltTypeDef>)
FnDef(Arc<FnDef>)
TbDef(Arc<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