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