Struct sv_parser::CondPattern
source · pub struct CondPattern {
pub nodes: (Expression, Keyword, Pattern),
}
Fields§
§nodes: (Expression, Keyword, Pattern)
Trait Implementations§
source§impl Clone for CondPattern
impl Clone for CondPattern
source§fn clone(&self) -> CondPattern
fn clone(&self) -> CondPattern
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 CondPattern
impl Debug for CondPattern
source§impl<'a> From<&'a CondPattern> for RefNode<'a>
impl<'a> From<&'a CondPattern> for RefNode<'a>
source§fn from(x: &'a CondPattern) -> RefNode<'a>
fn from(x: &'a CondPattern) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a CondPattern> for RefNodes<'a>
impl<'a> From<&'a CondPattern> for RefNodes<'a>
source§fn from(x: &'a CondPattern) -> RefNodes<'a>
fn from(x: &'a CondPattern) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<CondPattern> for AnyNode
impl From<CondPattern> for AnyNode
source§fn from(x: CondPattern) -> AnyNode
fn from(x: CondPattern) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a CondPattern
impl<'a> IntoIterator for &'a CondPattern
source§impl PartialEq<CondPattern> for CondPattern
impl PartialEq<CondPattern> for CondPattern
source§fn eq(&self, other: &CondPattern) -> bool
fn eq(&self, other: &CondPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.