Enum sv_parser::ActionBlock
source · pub enum ActionBlock {
StatementOrNull(Box<StatementOrNull, Global>),
Else(Box<ActionBlockElse, Global>),
}
Variants§
StatementOrNull(Box<StatementOrNull, Global>)
Else(Box<ActionBlockElse, Global>)
Trait Implementations§
source§impl Clone for ActionBlock
impl Clone for ActionBlock
source§fn clone(&self) -> ActionBlock
fn clone(&self) -> ActionBlock
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 ActionBlock
impl Debug for ActionBlock
source§impl<'a> From<&'a ActionBlock> for RefNode<'a>
impl<'a> From<&'a ActionBlock> for RefNode<'a>
source§fn from(x: &'a ActionBlock) -> RefNode<'a>
fn from(x: &'a ActionBlock) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ActionBlock> for RefNodes<'a>
impl<'a> From<&'a ActionBlock> for RefNodes<'a>
source§fn from(x: &'a ActionBlock) -> RefNodes<'a>
fn from(x: &'a ActionBlock) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ActionBlock> for AnyNode
impl From<ActionBlock> for AnyNode
source§fn from(x: ActionBlock) -> AnyNode
fn from(x: ActionBlock) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ActionBlock
impl<'a> IntoIterator for &'a ActionBlock
source§impl PartialEq<ActionBlock> for ActionBlock
impl PartialEq<ActionBlock> for ActionBlock
source§fn eq(&self, other: &ActionBlock) -> bool
fn eq(&self, other: &ActionBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.