Enum sv_parser::CaseStatement
source · 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) -> RefNode<'a>
fn from(x: &'a CaseStatement) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a CaseStatement) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<CaseStatement> for AnyNode
impl From<CaseStatement> for AnyNode
source§fn from(x: CaseStatement) -> AnyNode
fn from(x: CaseStatement) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CaseStatement
impl<'a> IntoIterator for &'a CaseStatement
source§impl PartialEq for CaseStatement
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a CaseStatement> for Locate
impl<'a> TryFrom<&'a CaseStatement> for Locate
source§impl TryFrom<AnyNode> for CaseStatement
impl TryFrom<AnyNode> for CaseStatement
source§impl TryFrom<CaseStatement> for Locate
impl TryFrom<CaseStatement> for Locate
impl StructuralPartialEq for CaseStatement
Auto Trait Implementations§
impl RefUnwindSafe for CaseStatement
impl Send for CaseStatement
impl Sync for CaseStatement
impl Unpin for CaseStatement
impl UnwindSafe for CaseStatement
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