pub struct ReuseConfig {
pub min_confidence: f64,
pub max_position_shift: usize,
pub aggressive_structural_matching: bool,
pub enable_content_reuse: bool,
pub max_analysis_depth: usize,
}Expand description
Configuration for reuse analysis behavior
Fields§
§min_confidence: f64Minimum confidence score for reuse (0.0-1.0)
max_position_shift: usizeMaximum position shift allowed for reuse
aggressive_structural_matching: boolEnable aggressive structural matching
enable_content_reuse: boolEnable content-based reuse for literals
max_analysis_depth: usizeMaximum depth for recursive analysis
Trait Implementations§
Source§impl Clone for ReuseConfig
impl Clone for ReuseConfig
Source§fn clone(&self) -> ReuseConfig
fn clone(&self) -> ReuseConfig
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 ReuseConfig
impl Debug for ReuseConfig
Source§impl Default for ReuseConfig
impl Default for ReuseConfig
Source§fn default() -> ReuseConfig
fn default() -> ReuseConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReuseConfig
impl RefUnwindSafe for ReuseConfig
impl Send for ReuseConfig
impl Sync for ReuseConfig
impl Unpin for ReuseConfig
impl UnsafeUnpin for ReuseConfig
impl UnwindSafe for ReuseConfig
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