pub enum Tier {
Label,
Keyword,
Description,
}Expand description
Which kind of field a search word was found in, best first: a label before a keyword, a keyword before a description.
Variants§
Label
A name the user reads first (a title, a label): matched fuzzily.
Keyword
A word given to be found by (a keyword, an id, a section’s title): matched fuzzily.
Description
Running text (a description): matched by whole words or word
prefixes only (word_prefix).
Trait Implementations§
Source§impl Ord for Tier
impl Ord for Tier
Source§impl PartialOrd for Tier
impl PartialOrd for Tier
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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