pub struct FuzzyMatch {
pub highlights: Vec<Range<usize>>,
pub first_match: usize,
pub match_span: usize,
pub gap_count: usize,
pub contiguous_match_count: usize,
}Fields§
§highlights: Vec<Range<usize>>§first_match: usize§match_span: usize§gap_count: usize§contiguous_match_count: usizeTrait Implementations§
Source§impl Clone for FuzzyMatch
impl Clone for FuzzyMatch
Source§fn clone(&self) -> FuzzyMatch
fn clone(&self) -> FuzzyMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FuzzyMatch
impl Debug for FuzzyMatch
Source§impl PartialEq for FuzzyMatch
impl PartialEq for FuzzyMatch
Source§fn eq(&self, other: &FuzzyMatch) -> bool
fn eq(&self, other: &FuzzyMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FuzzyMatch
impl StructuralPartialEq for FuzzyMatch
Auto Trait Implementations§
impl Freeze for FuzzyMatch
impl RefUnwindSafe for FuzzyMatch
impl Send for FuzzyMatch
impl Sync for FuzzyMatch
impl Unpin for FuzzyMatch
impl UnsafeUnpin for FuzzyMatch
impl UnwindSafe for FuzzyMatch
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