pub enum ModuleItem {
Impl {
name: String,
methods: Vec<(String, Node<Expression>)>,
},
Statement {
statement: Node<Statement>,
},
}
Variants§
Trait Implementations§
impl Syntax for ModuleItem
Auto Trait Implementations§
impl Freeze for ModuleItem
impl !RefUnwindSafe for ModuleItem
impl !Send for ModuleItem
impl !Sync for ModuleItem
impl Unpin for ModuleItem
impl !UnwindSafe for ModuleItem
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