pub struct MatchClause {
pub patterns: Vec<Pattern>,
pub span: Option<SourceSpan>,
}Expand description
A MATCH clause.
Fields§
§patterns: Vec<Pattern>Graph patterns to match.
span: Option<SourceSpan>Source span.
Trait Implementations§
Source§impl Clone for MatchClause
impl Clone for MatchClause
Source§fn clone(&self) -> MatchClause
fn clone(&self) -> MatchClause
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 moreAuto Trait Implementations§
impl Freeze for MatchClause
impl RefUnwindSafe for MatchClause
impl Send for MatchClause
impl Sync for MatchClause
impl Unpin for MatchClause
impl UnwindSafe for MatchClause
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