Struct sv_parser::ConditionalStatement
source · pub struct ConditionalStatement {
pub nodes: (Option<UniquePriority>, Keyword, Paren<CondPredicate>, StatementOrNull, Vec<(Keyword, Keyword, Paren<CondPredicate>, StatementOrNull)>, Option<(Keyword, StatementOrNull)>),
}
Fields§
§nodes: (Option<UniquePriority>, Keyword, Paren<CondPredicate>, StatementOrNull, Vec<(Keyword, Keyword, Paren<CondPredicate>, StatementOrNull)>, 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 for ConditionalStatement
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ConditionalStatement> for Locate
impl<'a> TryFrom<&'a ConditionalStatement> for Locate
source§impl TryFrom<AnyNode> for ConditionalStatement
impl TryFrom<AnyNode> for ConditionalStatement
source§impl TryFrom<ConditionalStatement> for Locate
impl TryFrom<ConditionalStatement> for Locate
impl StructuralPartialEq for ConditionalStatement
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalStatement
impl Send for ConditionalStatement
impl Sync for ConditionalStatement
impl Unpin for ConditionalStatement
impl UnwindSafe for ConditionalStatement
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