Enum sv_parser::BlockItemDeclaration
source · pub enum BlockItemDeclaration {
Data(Box<BlockItemDeclarationData>),
LocalParameter(Box<BlockItemDeclarationLocalParameter>),
Parameter(Box<BlockItemDeclarationParameter>),
Let(Box<BlockItemDeclarationLet>),
}
Variants§
Data(Box<BlockItemDeclarationData>)
LocalParameter(Box<BlockItemDeclarationLocalParameter>)
Parameter(Box<BlockItemDeclarationParameter>)
Let(Box<BlockItemDeclarationLet>)
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 for BlockItemDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a BlockItemDeclaration> for Locate
impl<'a> TryFrom<&'a BlockItemDeclaration> for Locate
source§impl TryFrom<AnyNode> for BlockItemDeclaration
impl TryFrom<AnyNode> for BlockItemDeclaration
source§impl TryFrom<BlockItemDeclaration> for Locate
impl TryFrom<BlockItemDeclaration> for Locate
impl StructuralPartialEq for BlockItemDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for BlockItemDeclaration
impl Send for BlockItemDeclaration
impl Sync for BlockItemDeclaration
impl Unpin for BlockItemDeclaration
impl UnwindSafe for BlockItemDeclaration
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