pub struct ComplexityChange {
pub name: String,
pub file_path: String,
pub line: u32,
pub old: ComplexityMetrics,
pub new: ComplexityMetrics,
pub cyclomatic_delta: i32,
pub cognitive_delta: i32,
}Expand description
A change in complexity metrics between versions.
Fields§
§name: String§file_path: String§line: u32§old: ComplexityMetrics§new: ComplexityMetrics§cyclomatic_delta: i32§cognitive_delta: i32Trait Implementations§
Source§impl Clone for ComplexityChange
impl Clone for ComplexityChange
Source§fn clone(&self) -> ComplexityChange
fn clone(&self) -> ComplexityChange
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 ComplexityChange
impl Debug for ComplexityChange
Auto Trait Implementations§
impl Freeze for ComplexityChange
impl RefUnwindSafe for ComplexityChange
impl Send for ComplexityChange
impl Sync for ComplexityChange
impl Unpin for ComplexityChange
impl UnsafeUnpin for ComplexityChange
impl UnwindSafe for ComplexityChange
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