pub struct FuncDef {
pub scope: Option<Scope>,
pub argdefs: Vec<PositionedItem<String>>,
pub fields: Box<Expression>,
pub pos: Position,
}
Expand description
Encodes a func expression in the UCG AST..
A func is a pure function over a tuple.
Fields§
§scope: Option<Scope>
§argdefs: Vec<PositionedItem<String>>
§fields: Box<Expression>
§pos: Position
Trait Implementations§
impl StructuralPartialEq for FuncDef
Auto Trait Implementations§
impl Freeze for FuncDef
impl RefUnwindSafe for FuncDef
impl !Send for FuncDef
impl !Sync for FuncDef
impl Unpin for FuncDef
impl UnwindSafe for FuncDef
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