pub enum ModuleBody {
Inline(Block<Item>),
Slf(Box<[Item]>, FileId),
Extern {
semicolon: Span,
items: Box<[Item]>,
id: FileId,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModuleBody
impl RefUnwindSafe for ModuleBody
impl Send for ModuleBody
impl Sync for ModuleBody
impl Unpin for ModuleBody
impl UnwindSafe for ModuleBody
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