pub struct ResolutionScope {
pub module: ModuleId,
pub module_name: String,
pub source_label: Option<String>,
pub last_updated: String,
}Expand description
Exact loaded module version used as a resolution scope.
Fields§
§module: ModuleIdIdentifies the exact loaded module version used as the scope.
module_name: StringNames the scoped module.
source_label: Option<String>Identifies the scoped module’s source when the loader assigned a label.
last_updated: StringContains the module’s LAST-UPDATED value, or an empty string when absent.
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 moreSource§impl Debug for ResolutionScope
impl Debug for ResolutionScope
impl Eq for ResolutionScope
Source§impl PartialEq for ResolutionScope
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.