pub struct RankedItem {
pub original_index: usize,
pub result: MatchResult,
pub rank_confidence: RankConfidence,
}Expand description
A single item in the ranked results.
Fields§
§original_index: usizeIndex into the original (pre-sort) input slice.
result: MatchResultThe match result.
rank_confidence: RankConfidenceConformal confidence for this rank position.
Trait Implementations§
Source§impl Clone for RankedItem
impl Clone for RankedItem
Source§fn clone(&self) -> RankedItem
fn clone(&self) -> RankedItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RankedItem
impl RefUnwindSafe for RankedItem
impl Send for RankedItem
impl Sync for RankedItem
impl Unpin for RankedItem
impl UnsafeUnpin for RankedItem
impl UnwindSafe for RankedItem
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