pub struct FuzzyMatchResult {
pub found: bool,
pub index: usize,
pub match_length: usize,
pub used_fuzzy_match: bool,
pub content_for_replacement: String,
}Expand description
Result of fuzzy_find_text.
Fields§
§found: bool§index: usize§match_length: usize§used_fuzzy_match: bool§content_for_replacement: StringThe content to splice into (original when exact, normalized when fuzzy).
Trait Implementations§
Source§impl Clone for FuzzyMatchResult
impl Clone for FuzzyMatchResult
Source§fn clone(&self) -> FuzzyMatchResult
fn clone(&self) -> FuzzyMatchResult
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 moreAuto Trait Implementations§
impl Freeze for FuzzyMatchResult
impl RefUnwindSafe for FuzzyMatchResult
impl Send for FuzzyMatchResult
impl Sync for FuzzyMatchResult
impl Unpin for FuzzyMatchResult
impl UnsafeUnpin for FuzzyMatchResult
impl UnwindSafe for FuzzyMatchResult
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