pub enum BareNameMatch {
Miss,
Unique(ModuleDoc),
Ambiguous(Vec<String>),
}Expand description
A bare name matched against standard-library module tails.
Variants§
Miss
Not a bare name, or not the tail of a visible module.
Unique(ModuleDoc)
Exactly one visible module has this tail, and no other catalog name does.
Ambiguous(Vec<String>)
Several full names share the tail. Listed in sorted order.
Auto Trait Implementations§
impl Freeze for BareNameMatch
impl RefUnwindSafe for BareNameMatch
impl Send for BareNameMatch
impl Sync for BareNameMatch
impl Unpin for BareNameMatch
impl UnsafeUnpin for BareNameMatch
impl UnwindSafe for BareNameMatch
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