pub enum ImportResolutionMode {
Direct,
Alias,
Forwarded,
Partial,
Unresolved,
Cycle,
}Expand description
Resolver strategy used for one imported symbol.
Variants§
Direct
The selected source module directly defines the complete import group.
Alias
A well-known source-module alias selected the defining module.
Forwarded
The declared source module forwarded the complete import group.
Partial
The symbol was retained while resolving a mixed direct/forwarded group.
Unresolved
No source module candidate could resolve the symbol.
Cycle
No target was selected and at least one candidate path was cyclic.
Trait Implementations§
Source§impl Clone for ImportResolutionMode
impl Clone for ImportResolutionMode
Source§fn clone(&self) -> ImportResolutionMode
fn clone(&self) -> ImportResolutionMode
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 ImportResolutionMode
Source§impl Debug for ImportResolutionMode
impl Debug for ImportResolutionMode
Source§impl Display for ImportResolutionMode
impl Display for ImportResolutionMode
impl Eq for ImportResolutionMode
Source§impl PartialEq for ImportResolutionMode
impl PartialEq for ImportResolutionMode
impl StructuralPartialEq for ImportResolutionMode
Auto Trait Implementations§
impl Freeze for ImportResolutionMode
impl RefUnwindSafe for ImportResolutionMode
impl Send for ImportResolutionMode
impl Sync for ImportResolutionMode
impl Unpin for ImportResolutionMode
impl UnsafeUnpin for ImportResolutionMode
impl UnwindSafe for ImportResolutionMode
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.