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