Enum sv_parser::PackageScope
source · pub enum PackageScope {
Package(Box<PackageScopePackage>),
Unit(Box<Unit>),
}
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 for PackageScope
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a PackageScope> for Locate
impl<'a> TryFrom<&'a PackageScope> for Locate
source§impl TryFrom<AnyNode> for PackageScope
impl TryFrom<AnyNode> for PackageScope
source§impl TryFrom<PackageScope> for Locate
impl TryFrom<PackageScope> for Locate
impl StructuralPartialEq for PackageScope
Auto Trait Implementations§
impl RefUnwindSafe for PackageScope
impl Send for PackageScope
impl Sync for PackageScope
impl Unpin for PackageScope
impl UnwindSafe for PackageScope
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more