pub enum PatternExpr<'tree> {
PatternExprBasic(Box<PatternExprBasic<'tree>>),
AlternativePattern(Box<AlternativePattern<'tree>>),
AsPattern(Box<AsPattern<'tree>>),
}Variants§
PatternExprBasic(Box<PatternExprBasic<'tree>>)
AlternativePattern(Box<AlternativePattern<'tree>>)
AsPattern(Box<AsPattern<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PatternExpr<'tree>
impl<'tree> Clone for PatternExpr<'tree>
Source§fn clone(&self) -> PatternExpr<'tree>
fn clone(&self) -> PatternExpr<'tree>
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<'tree> Debug for PatternExpr<'tree>
impl<'tree> Debug for PatternExpr<'tree>
Source§impl<'tree> FromNode<'tree> for PatternExpr<'tree>
impl<'tree> FromNode<'tree> for PatternExpr<'tree>
Source§impl<'tree> PartialEq for PatternExpr<'tree>
impl<'tree> PartialEq for PatternExpr<'tree>
Source§impl Spanned for PatternExpr<'_>
impl Spanned for PatternExpr<'_>
impl<'tree> Eq for PatternExpr<'tree>
impl<'tree> StructuralPartialEq for PatternExpr<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PatternExpr<'tree>
impl<'tree> RefUnwindSafe for PatternExpr<'tree>
impl<'tree> Send for PatternExpr<'tree>
impl<'tree> Sync for PatternExpr<'tree>
impl<'tree> Unpin for PatternExpr<'tree>
impl<'tree> UnsafeUnpin for PatternExpr<'tree>
impl<'tree> UnwindSafe for PatternExpr<'tree>
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