pub struct DefineClause {
pub pattern: Vec<Node>,
pub body: Node,
}Expand description
One (case <pattern-args> <body>) clause of a (define …) declaration.
Fields§
§pattern: Vec<Node>The clause’s pattern arguments — the children of the parenthesised pattern list, in left-to-right order.
body: NodeThe clause body, which may contain recursive references to the declared name.
Trait Implementations§
Source§impl Clone for DefineClause
impl Clone for DefineClause
Source§fn clone(&self) -> DefineClause
fn clone(&self) -> DefineClause
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefineClause
impl Debug for DefineClause
Source§impl PartialEq for DefineClause
impl PartialEq for DefineClause
impl StructuralPartialEq for DefineClause
Auto Trait Implementations§
impl Freeze for DefineClause
impl RefUnwindSafe for DefineClause
impl Send for DefineClause
impl Sync for DefineClause
impl Unpin for DefineClause
impl UnsafeUnpin for DefineClause
impl UnwindSafe for DefineClause
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