pub struct AlignmentConfig {
pub enable_fuzzy_alignment: bool,
pub fuzzy_alignment_threshold: f32,
pub accept_match_lesser: bool,
pub case_sensitive: bool,
pub max_search_window: usize,
}
Expand description
Configuration for text alignment
Fields§
§enable_fuzzy_alignment: bool
Enable fuzzy alignment when exact matching fails
fuzzy_alignment_threshold: f32
Minimum overlap ratio for fuzzy alignment (0.0 to 1.0)
accept_match_lesser: bool
Accept partial exact matches (MATCH_LESSER status)
case_sensitive: bool
Case-sensitive matching
max_search_window: usize
Maximum search window size for fuzzy matching
Trait Implementations§
Source§impl Clone for AlignmentConfig
impl Clone for AlignmentConfig
Source§fn clone(&self) -> AlignmentConfig
fn clone(&self) -> AlignmentConfig
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 moreSource§impl Debug for AlignmentConfig
impl Debug for AlignmentConfig
Auto Trait Implementations§
impl Freeze for AlignmentConfig
impl RefUnwindSafe for AlignmentConfig
impl Send for AlignmentConfig
impl Sync for AlignmentConfig
impl Unpin for AlignmentConfig
impl UnwindSafe for AlignmentConfig
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