pub struct ModuleDef {
pub scope: Option<Scope>,
pub pos: Position,
pub arg_set: FieldList,
pub out_expr: Option<Box<Expression>>,
pub out_constraint: Option<Box<Expression>>,
pub arg_tuple: Option<Rc<Val>>,
pub statements: Vec<Statement>,
}Fields§
§scope: Option<Scope>§pos: Position§arg_set: FieldList§out_expr: Option<Box<Expression>>§out_constraint: Option<Box<Expression>>§arg_tuple: Option<Rc<Val>>§statements: Vec<Statement>Implementations§
Trait Implementations§
Source§impl DeriveShape for ModuleDef
impl DeriveShape for ModuleDef
impl StructuralPartialEq for ModuleDef
Auto Trait Implementations§
impl Freeze for ModuleDef
impl RefUnwindSafe for ModuleDef
impl !Send for ModuleDef
impl !Sync for ModuleDef
impl Unpin for ModuleDef
impl UnsafeUnpin for ModuleDef
impl UnwindSafe for ModuleDef
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