pub struct Found {
pub tier: Tier,
pub score: i32,
}Expand description
What a search found in Fields: the worst tier any of the query’s
words needed, and the words’ summed score. Sorting ascending puts
the best first (tier, then the higher score).
Fields§
§tier: Tier§score: i32Trait Implementations§
Source§impl Ord for Found
impl Ord for Found
Source§impl PartialOrd for Found
impl PartialOrd for Found
impl Copy for Found
impl Eq for Found
impl StructuralPartialEq for Found
Auto Trait Implementations§
impl Freeze for Found
impl RefUnwindSafe for Found
impl Send for Found
impl Sync for Found
impl Unpin for Found
impl UnsafeUnpin for Found
impl UnwindSafe for Found
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