Struct valkyrie_ast::ImplicitCaseNode
source · pub struct ImplicitCaseNode {
pub pattern: PatternNode,
pub body: ExpressionNode,
pub span: Range<u32>,
}Expand description
Soma(a) | Success { value :a } := expr
Fields§
§pattern: PatternNodeSoma(a) | Success { value :a }
body: ExpressionNode:=
span: Range<u32>The range of the node
Trait Implementations§
source§impl Clone for ImplicitCaseNode
impl Clone for ImplicitCaseNode
source§fn clone(&self) -> ImplicitCaseNode
fn clone(&self) -> ImplicitCaseNode
Returns a copy 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 ImplicitCaseNode
impl Debug for ImplicitCaseNode
source§impl Hash for ImplicitCaseNode
impl Hash for ImplicitCaseNode
source§impl PartialEq for ImplicitCaseNode
impl PartialEq for ImplicitCaseNode
source§fn eq(&self, other: &ImplicitCaseNode) -> bool
fn eq(&self, other: &ImplicitCaseNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ImplicitCaseNode
impl StructuralPartialEq for ImplicitCaseNode
Auto Trait Implementations§
impl RefUnwindSafe for ImplicitCaseNode
impl Send for ImplicitCaseNode
impl Sync for ImplicitCaseNode
impl Unpin for ImplicitCaseNode
impl UnwindSafe for ImplicitCaseNode
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