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