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