#[non_exhaustive]pub enum ModuleResolutionStatus {
Deferred,
Dynamic,
}Expand description
Static module-resolution status.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Deferred
Static module target was recorded, but path resolution is intentionally deferred.
Dynamic
Module target is dynamic and cannot be resolved statically.
Trait Implementations§
Source§impl Clone for ModuleResolutionStatus
impl Clone for ModuleResolutionStatus
Source§fn clone(&self) -> ModuleResolutionStatus
fn clone(&self) -> ModuleResolutionStatus
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 ModuleResolutionStatus
impl Debug for ModuleResolutionStatus
Source§impl Hash for ModuleResolutionStatus
impl Hash for ModuleResolutionStatus
Source§impl PartialEq for ModuleResolutionStatus
impl PartialEq for ModuleResolutionStatus
Source§fn eq(&self, other: &ModuleResolutionStatus) -> bool
fn eq(&self, other: &ModuleResolutionStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ModuleResolutionStatus
impl Eq for ModuleResolutionStatus
impl StructuralPartialEq for ModuleResolutionStatus
Auto Trait Implementations§
impl Freeze for ModuleResolutionStatus
impl RefUnwindSafe for ModuleResolutionStatus
impl Send for ModuleResolutionStatus
impl Sync for ModuleResolutionStatus
impl Unpin for ModuleResolutionStatus
impl UnsafeUnpin for ModuleResolutionStatus
impl UnwindSafe for ModuleResolutionStatus
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