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) -> Self
fn from(x: &'a BlockItemDeclaration) -> Self
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) -> Self
fn from(x: &'a BlockItemDeclaration) -> Self
Converts to this type from the input type.
source§impl From<BlockItemDeclaration> for AnyNode
impl From<BlockItemDeclaration> for AnyNode
source§fn from(x: BlockItemDeclaration) -> Self
fn from(x: BlockItemDeclaration) -> Self
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 ==
.