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