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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResolutionScope
impl Eq for ResolutionScope
Source§impl Hash for ResolutionScope
impl Hash for ResolutionScope
Source§impl Ord for ResolutionScope
impl Ord for ResolutionScope
1.21.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ResolutionScope
impl PartialOrd for ResolutionScope
impl StructuralPartialEq for ResolutionScope
Auto Trait Implementations§
impl Freeze for ResolutionScope
impl RefUnwindSafe for ResolutionScope
impl Send for ResolutionScope
impl Sync for ResolutionScope
impl Unpin for ResolutionScope
impl UnsafeUnpin 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