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