pub enum ResolutionScope {
Module(Module),
ModuleRef(ModuleRef),
AssemblyRef(AssemblyRef),
TypeRef(TypeRef),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ResolutionScope
impl Clone for ResolutionScope
source§fn clone(&self) -> ResolutionScope
fn clone(&self) -> ResolutionScope
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 ResolutionScope
impl Debug for ResolutionScope
source§impl From<AssemblyRef> for ResolutionScope
impl From<AssemblyRef> for ResolutionScope
source§fn from(from: AssemblyRef) -> Self
fn from(from: AssemblyRef) -> Self
Converts to this type from the input type.
source§impl From<Module> for ResolutionScope
impl From<Module> for ResolutionScope
source§impl From<ModuleRef> for ResolutionScope
impl From<ModuleRef> for ResolutionScope
source§impl From<TypeRef> for ResolutionScope
impl From<TypeRef> for ResolutionScope
source§impl Hash for ResolutionScope
impl Hash for ResolutionScope
source§impl Ord for ResolutionScope
impl Ord for ResolutionScope
source§fn cmp(&self, other: &ResolutionScope) -> Ordering
fn cmp(&self, other: &ResolutionScope) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ResolutionScope
impl PartialEq for ResolutionScope
source§fn eq(&self, other: &ResolutionScope) -> bool
fn eq(&self, other: &ResolutionScope) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ResolutionScope
impl PartialOrd for ResolutionScope
source§fn partial_cmp(&self, other: &ResolutionScope) -> Option<Ordering>
fn partial_cmp(&self, other: &ResolutionScope) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ResolutionScope
impl StructuralEq for ResolutionScope
impl StructuralPartialEq for ResolutionScope
Auto Trait Implementations§
impl RefUnwindSafe for ResolutionScope
impl Send for ResolutionScope
impl Sync for ResolutionScope
impl Unpin for ResolutionScope
impl UnwindSafe for ResolutionScope
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