pub enum PackageScopeOrClassScope {
PackageScope(Box<PackageScope>),
ClassScope(Box<ClassScope>),
}
Variants§
PackageScope(Box<PackageScope>)
ClassScope(Box<ClassScope>)
Trait Implementations§
source§impl Clone for PackageScopeOrClassScope
impl Clone for PackageScopeOrClassScope
source§fn clone(&self) -> PackageScopeOrClassScope
fn clone(&self) -> PackageScopeOrClassScope
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 PackageScopeOrClassScope
impl Debug for PackageScopeOrClassScope
source§impl<'a> From<&'a PackageScopeOrClassScope> for RefNode<'a>
impl<'a> From<&'a PackageScopeOrClassScope> for RefNode<'a>
source§fn from(x: &'a PackageScopeOrClassScope) -> Self
fn from(x: &'a PackageScopeOrClassScope) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a PackageScopeOrClassScope> for RefNodes<'a>
impl<'a> From<&'a PackageScopeOrClassScope> for RefNodes<'a>
source§fn from(x: &'a PackageScopeOrClassScope) -> Self
fn from(x: &'a PackageScopeOrClassScope) -> Self
Converts to this type from the input type.
source§impl From<PackageScopeOrClassScope> for AnyNode
impl From<PackageScopeOrClassScope> for AnyNode
source§fn from(x: PackageScopeOrClassScope) -> Self
fn from(x: PackageScopeOrClassScope) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a PackageScopeOrClassScope
impl<'a> IntoIterator for &'a PackageScopeOrClassScope
source§impl PartialEq for PackageScopeOrClassScope
impl PartialEq for PackageScopeOrClassScope
source§fn eq(&self, other: &PackageScopeOrClassScope) -> bool
fn eq(&self, other: &PackageScopeOrClassScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a PackageScopeOrClassScope> for Locate
impl<'a> TryFrom<&'a PackageScopeOrClassScope> for Locate
source§impl TryFrom<AnyNode> for PackageScopeOrClassScope
impl TryFrom<AnyNode> for PackageScopeOrClassScope
source§impl TryFrom<PackageScopeOrClassScope> for Locate
impl TryFrom<PackageScopeOrClassScope> for Locate
impl StructuralPartialEq for PackageScopeOrClassScope
Auto Trait Implementations§
impl RefUnwindSafe for PackageScopeOrClassScope
impl Send for PackageScopeOrClassScope
impl Sync for PackageScopeOrClassScope
impl Unpin for PackageScopeOrClassScope
impl UnwindSafe for PackageScopeOrClassScope
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