pub struct PatchAnalysis {
pub additions: usize,
pub deletions: usize,
pub imbalance_ratio: f64,
pub forbidden_matches: Vec<ForbiddenMatch>,
pub exceeds_max_additions: bool,
pub exceeds_max_deletions: bool,
pub exceeds_imbalance: bool,
}Expand description
Analysis result for a patch.
Fields§
§additions: usize§deletions: usize§imbalance_ratio: f64§forbidden_matches: Vec<ForbiddenMatch>§exceeds_max_additions: bool§exceeds_max_deletions: bool§exceeds_imbalance: boolImplementations§
Trait Implementations§
Source§impl Clone for PatchAnalysis
impl Clone for PatchAnalysis
Source§fn clone(&self) -> PatchAnalysis
fn clone(&self) -> PatchAnalysis
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 moreAuto Trait Implementations§
impl Freeze for PatchAnalysis
impl RefUnwindSafe for PatchAnalysis
impl Send for PatchAnalysis
impl Sync for PatchAnalysis
impl Unpin for PatchAnalysis
impl UnsafeUnpin for PatchAnalysis
impl UnwindSafe for PatchAnalysis
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