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