pub struct SemanticDiffOptions {
pub rename_threshold: f64,
pub similarity_method: SimilarityMethod,
pub analyze_functions: bool,
pub analyze_dependencies: bool,
pub budget: SemanticBudget,
}Expand description
Options for semantic diff analysis.
Fields§
§rename_threshold: f64Similarity threshold for detecting renames (0.0 to 1.0).
similarity_method: SimilarityMethodMethod for computing similarity.
analyze_functions: boolWhether to analyze function-level changes.
analyze_dependencies: boolWhether to detect import/dependency changes.
budget: SemanticBudgetResource limits for semantic analysis.
Trait Implementations§
Source§impl Clone for SemanticDiffOptions
impl Clone for SemanticDiffOptions
Source§fn clone(&self) -> SemanticDiffOptions
fn clone(&self) -> SemanticDiffOptions
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 SemanticDiffOptions
impl Debug for SemanticDiffOptions
Auto Trait Implementations§
impl Freeze for SemanticDiffOptions
impl RefUnwindSafe for SemanticDiffOptions
impl Send for SemanticDiffOptions
impl Sync for SemanticDiffOptions
impl Unpin for SemanticDiffOptions
impl UnsafeUnpin for SemanticDiffOptions
impl UnwindSafe for SemanticDiffOptions
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