pub enum SearchVisibility {
Found,
Renamed,
Missed,
}Expand description
Whether a whole-word text search for an export name finds a consumer that the module graph resolves. The levels sort from best to worst.
Variants§
Found
The consumer source contains the export name, and the consumer uses it under that name.
Renamed
The consumer source contains the export name, but the consumer uses the export under another local name.
Missed
The consumer source does not contain the export name.
Trait Implementations§
Source§impl Clone for SearchVisibility
impl Clone for SearchVisibility
impl Copy for SearchVisibility
Source§impl Debug for SearchVisibility
impl Debug for SearchVisibility
impl Eq for SearchVisibility
Source§impl Ord for SearchVisibility
impl Ord for SearchVisibility
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SearchVisibility
impl PartialEq for SearchVisibility
Source§impl PartialOrd for SearchVisibility
impl PartialOrd for SearchVisibility
Source§impl Serialize for SearchVisibility
impl Serialize for SearchVisibility
impl StructuralPartialEq for SearchVisibility
Auto Trait Implementations§
impl Freeze for SearchVisibility
impl RefUnwindSafe for SearchVisibility
impl Send for SearchVisibility
impl Sync for SearchVisibility
impl Unpin for SearchVisibility
impl UnsafeUnpin for SearchVisibility
impl UnwindSafe for SearchVisibility
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.