pub enum ExpressionOrCondPattern {
    Expression(Box<Expression>),
    CondPattern(Box<CondPattern>),
}Variants§
Expression(Box<Expression>)
CondPattern(Box<CondPattern>)
Trait Implementations§
Source§impl Clone for ExpressionOrCondPattern
 
impl Clone for ExpressionOrCondPattern
Source§fn clone(&self) -> ExpressionOrCondPattern
 
fn clone(&self) -> ExpressionOrCondPattern
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 ExpressionOrCondPattern
 
impl Debug for ExpressionOrCondPattern
Source§impl<'a> From<&'a ExpressionOrCondPattern> for RefNode<'a>
 
impl<'a> From<&'a ExpressionOrCondPattern> for RefNode<'a>
Source§fn from(x: &'a ExpressionOrCondPattern) -> RefNode<'a>
 
fn from(x: &'a ExpressionOrCondPattern) -> RefNode<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExpressionOrCondPattern> for RefNodes<'a>
 
impl<'a> From<&'a ExpressionOrCondPattern> for RefNodes<'a>
Source§fn from(x: &'a ExpressionOrCondPattern) -> RefNodes<'a>
 
fn from(x: &'a ExpressionOrCondPattern) -> RefNodes<'a>
Converts to this type from the input type.
Source§impl From<ExpressionOrCondPattern> for AnyNode
 
impl From<ExpressionOrCondPattern> for AnyNode
Source§fn from(x: ExpressionOrCondPattern) -> AnyNode
 
fn from(x: ExpressionOrCondPattern) -> AnyNode
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a ExpressionOrCondPattern
 
impl<'a> IntoIterator for &'a ExpressionOrCondPattern
Source§impl PartialEq for ExpressionOrCondPattern
 
impl PartialEq for ExpressionOrCondPattern
Source§impl<'a> TryFrom<&'a ExpressionOrCondPattern> for Locate
 
impl<'a> TryFrom<&'a ExpressionOrCondPattern> for Locate
Source§impl TryFrom<AnyNode> for ExpressionOrCondPattern
 
impl TryFrom<AnyNode> for ExpressionOrCondPattern
Source§impl TryFrom<ExpressionOrCondPattern> for Locate
 
impl TryFrom<ExpressionOrCondPattern> for Locate
impl StructuralPartialEq for ExpressionOrCondPattern
Auto Trait Implementations§
impl Freeze for ExpressionOrCondPattern
impl RefUnwindSafe for ExpressionOrCondPattern
impl Send for ExpressionOrCondPattern
impl Sync for ExpressionOrCondPattern
impl Unpin for ExpressionOrCondPattern
impl UnwindSafe for ExpressionOrCondPattern
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