pub enum PackageItem {
PackageOrGenerateItemDeclaration(Box<PackageOrGenerateItemDeclaration>),
AnonymousProgram(Box<AnonymousProgram>),
PackageExportDeclaration(Box<PackageExportDeclaration>),
TimeunitsDeclaration(Box<TimeunitsDeclaration>),
}
Variants§
PackageOrGenerateItemDeclaration(Box<PackageOrGenerateItemDeclaration>)
AnonymousProgram(Box<AnonymousProgram>)
PackageExportDeclaration(Box<PackageExportDeclaration>)
TimeunitsDeclaration(Box<TimeunitsDeclaration>)
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) -> Self
fn from(x: &'a PackageItem) -> Self
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) -> Self
fn from(x: &'a PackageItem) -> Self
Converts to this type from the input type.
source§impl From<PackageItem> for AnyNode
impl From<PackageItem> for AnyNode
source§fn from(x: PackageItem) -> Self
fn from(x: PackageItem) -> Self
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 ==
.