pub enum CaseStatement {
Normal(Box<CaseStatementNormal>),
Matches(Box<CaseStatementMatches>),
Inside(Box<CaseStatementInside>),
}
Variants§
Normal(Box<CaseStatementNormal>)
Matches(Box<CaseStatementMatches>)
Inside(Box<CaseStatementInside>)
Trait Implementations§
source§impl Clone for CaseStatement
impl Clone for CaseStatement
source§fn clone(&self) -> CaseStatement
fn clone(&self) -> CaseStatement
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 CaseStatement
impl Debug for CaseStatement
source§impl<'a> From<&'a CaseStatement> for RefNode<'a>
impl<'a> From<&'a CaseStatement> for RefNode<'a>
source§fn from(x: &'a CaseStatement) -> Self
fn from(x: &'a CaseStatement) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a CaseStatement> for RefNodes<'a>
impl<'a> From<&'a CaseStatement> for RefNodes<'a>
source§fn from(x: &'a CaseStatement) -> Self
fn from(x: &'a CaseStatement) -> Self
Converts to this type from the input type.
source§impl From<CaseStatement> for AnyNode
impl From<CaseStatement> for AnyNode
source§fn from(x: CaseStatement) -> Self
fn from(x: CaseStatement) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CaseStatement
impl<'a> IntoIterator for &'a CaseStatement
source§impl PartialEq<CaseStatement> for CaseStatement
impl PartialEq<CaseStatement> for CaseStatement
source§fn eq(&self, other: &CaseStatement) -> bool
fn eq(&self, other: &CaseStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.