Enum sv_parser::CaseKeyword
source · pub enum CaseKeyword {
Case(Box<Keyword>),
Casez(Box<Keyword>),
Casex(Box<Keyword>),
}
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 for CaseKeyword
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a CaseKeyword> for Locate
impl<'a> TryFrom<&'a CaseKeyword> for Locate
source§impl TryFrom<AnyNode> for CaseKeyword
impl TryFrom<AnyNode> for CaseKeyword
source§impl TryFrom<CaseKeyword> for Locate
impl TryFrom<CaseKeyword> for Locate
impl StructuralPartialEq for CaseKeyword
Auto Trait Implementations§
impl RefUnwindSafe for CaseKeyword
impl Send for CaseKeyword
impl Sync for CaseKeyword
impl Unpin for CaseKeyword
impl UnwindSafe for CaseKeyword
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