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 for CondPattern
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a CondPattern> for Locate
impl<'a> TryFrom<&'a CondPattern> for Locate
source§impl TryFrom<AnyNode> for CondPattern
impl TryFrom<AnyNode> for CondPattern
source§impl TryFrom<CondPattern> for Locate
impl TryFrom<CondPattern> for Locate
impl StructuralPartialEq for CondPattern
Auto Trait Implementations§
impl RefUnwindSafe for CondPattern
impl Send for CondPattern
impl Sync for CondPattern
impl Unpin for CondPattern
impl UnwindSafe for CondPattern
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