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