pub enum MatchExpression<'tree> {
Expression(Box<Expression<'tree>>),
Signature(Box<Signature<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for MatchExpression<'tree>
impl<'tree> Clone for MatchExpression<'tree>
Source§fn clone(&self) -> MatchExpression<'tree>
fn clone(&self) -> MatchExpression<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MatchExpression<'tree>
impl<'tree> Debug for MatchExpression<'tree>
impl<'tree> Eq for MatchExpression<'tree>
Source§impl<'tree> FromNode<'tree> for MatchExpression<'tree>
impl<'tree> FromNode<'tree> for MatchExpression<'tree>
Source§impl<'tree> PartialEq for MatchExpression<'tree>
impl<'tree> PartialEq for MatchExpression<'tree>
Source§impl Spanned for MatchExpression<'_>
impl Spanned for MatchExpression<'_>
impl<'tree> StructuralPartialEq for MatchExpression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for MatchExpression<'tree>
impl<'tree> RefUnwindSafe for MatchExpression<'tree>
impl<'tree> Send for MatchExpression<'tree>
impl<'tree> Sync for MatchExpression<'tree>
impl<'tree> Unpin for MatchExpression<'tree>
impl<'tree> UnsafeUnpin for MatchExpression<'tree>
impl<'tree> UnwindSafe for MatchExpression<'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