Enum sv_parser::CaseKeyword
source · pub enum CaseKeyword {
Case(Box<Keyword, Global>),
Casez(Box<Keyword, Global>),
Casex(Box<Keyword, Global>),
}
Variants§
Trait Implementations§
source§impl Clone for CaseKeyword
impl Clone for CaseKeyword
source§fn clone(&self) -> CaseKeyword
fn clone(&self) -> CaseKeyword
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 CaseKeyword
impl Debug for CaseKeyword
source§impl<'a> From<&'a CaseKeyword> for RefNode<'a>
impl<'a> From<&'a CaseKeyword> for RefNode<'a>
source§fn from(x: &'a CaseKeyword) -> RefNode<'a>
fn from(x: &'a CaseKeyword) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a CaseKeyword> for RefNodes<'a>
impl<'a> From<&'a CaseKeyword> for RefNodes<'a>
source§fn from(x: &'a CaseKeyword) -> RefNodes<'a>
fn from(x: &'a CaseKeyword) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<CaseKeyword> for AnyNode
impl From<CaseKeyword> for AnyNode
source§fn from(x: CaseKeyword) -> AnyNode
fn from(x: CaseKeyword) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CaseKeyword
impl<'a> IntoIterator for &'a CaseKeyword
source§impl PartialEq<CaseKeyword> for CaseKeyword
impl PartialEq<CaseKeyword> for CaseKeyword
source§fn eq(&self, other: &CaseKeyword) -> bool
fn eq(&self, other: &CaseKeyword) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.