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) -> Self
fn from(x: &'a LocalOrPackageScopeOrClassScope) -> Self
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) -> Self
fn from(x: &'a LocalOrPackageScopeOrClassScope) -> Self
Converts to this type from the input type.
source§impl From<LocalOrPackageScopeOrClassScope> for AnyNode
impl From<LocalOrPackageScopeOrClassScope> for AnyNode
source§fn from(x: LocalOrPackageScopeOrClassScope) -> Self
fn from(x: LocalOrPackageScopeOrClassScope) -> Self
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<LocalOrPackageScopeOrClassScope> for LocalOrPackageScopeOrClassScope
impl PartialEq<LocalOrPackageScopeOrClassScope> 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 ==
.