Struct sv_parser_syntaxtree::source_text::system_verilog_source_text::ProgramDeclarationNonansi
source · pub struct ProgramDeclarationNonansi {
pub nodes: (ProgramNonansiHeader, Option<TimeunitsDeclaration>, Vec<ProgramItem>, Keyword, Option<(Symbol, ProgramIdentifier)>),
}
Fields§
§nodes: (ProgramNonansiHeader, Option<TimeunitsDeclaration>, Vec<ProgramItem>, Keyword, Option<(Symbol, ProgramIdentifier)>)
Trait Implementations§
source§impl Clone for ProgramDeclarationNonansi
impl Clone for ProgramDeclarationNonansi
source§fn clone(&self) -> ProgramDeclarationNonansi
fn clone(&self) -> ProgramDeclarationNonansi
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 ProgramDeclarationNonansi
impl Debug for ProgramDeclarationNonansi
source§impl<'a> From<&'a ProgramDeclarationNonansi> for RefNode<'a>
impl<'a> From<&'a ProgramDeclarationNonansi> for RefNode<'a>
source§fn from(x: &'a ProgramDeclarationNonansi) -> Self
fn from(x: &'a ProgramDeclarationNonansi) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ProgramDeclarationNonansi> for RefNodes<'a>
impl<'a> From<&'a ProgramDeclarationNonansi> for RefNodes<'a>
source§fn from(x: &'a ProgramDeclarationNonansi) -> Self
fn from(x: &'a ProgramDeclarationNonansi) -> Self
Converts to this type from the input type.
source§impl From<ProgramDeclarationNonansi> for AnyNode
impl From<ProgramDeclarationNonansi> for AnyNode
source§fn from(x: ProgramDeclarationNonansi) -> Self
fn from(x: ProgramDeclarationNonansi) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ProgramDeclarationNonansi
impl<'a> IntoIterator for &'a ProgramDeclarationNonansi
source§impl PartialEq<ProgramDeclarationNonansi> for ProgramDeclarationNonansi
impl PartialEq<ProgramDeclarationNonansi> for ProgramDeclarationNonansi
source§fn eq(&self, other: &ProgramDeclarationNonansi) -> bool
fn eq(&self, other: &ProgramDeclarationNonansi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.