pub struct JumpHit {
pub item: usize,
pub score: i64,
pub positions: Vec<usize>,
}Expand description
One result: an item of a source, how well it matched, and the label characters to highlight.
Fields§
§item: usize§score: i64§positions: Vec<usize>Trait Implementations§
impl Eq for JumpHit
impl StructuralPartialEq for JumpHit
Auto Trait Implementations§
impl Freeze for JumpHit
impl RefUnwindSafe for JumpHit
impl Send for JumpHit
impl Sync for JumpHit
impl Unpin for JumpHit
impl UnsafeUnpin for JumpHit
impl UnwindSafe for JumpHit
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> 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.