pub struct CyclomaticModified {
pub sum: u64,
pub value: u64,
pub average: f64,
pub min: u64,
pub max: u64,
}Expand description
Wire form of the modified-cyclomatic sub-record.
Fields§
§sum: u64Modified-cyclomatic sum across the space.
value: u64This space’s own modified-cyclomatic complexity, excluding nested
function/closure spaces (see Cyclomatic::value).
average: f64Average modified cyclomatic complexity per function.
min: u64Minimum modified cyclomatic complexity in a single function.
max: u64Maximum modified cyclomatic complexity in a single function.
Trait Implementations§
Source§impl Clone for CyclomaticModified
impl Clone for CyclomaticModified
Source§fn clone(&self) -> CyclomaticModified
fn clone(&self) -> CyclomaticModified
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 CyclomaticModified
impl Debug for CyclomaticModified
Source§impl<'de> Deserialize<'de> for CyclomaticModified
impl<'de> Deserialize<'de> for CyclomaticModified
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CyclomaticModified
impl PartialEq for CyclomaticModified
Source§fn eq(&self, other: &CyclomaticModified) -> bool
fn eq(&self, other: &CyclomaticModified) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CyclomaticModified
impl Serialize for CyclomaticModified
impl StructuralPartialEq for CyclomaticModified
Auto Trait Implementations§
impl Freeze for CyclomaticModified
impl RefUnwindSafe for CyclomaticModified
impl Send for CyclomaticModified
impl Sync for CyclomaticModified
impl Unpin for CyclomaticModified
impl UnsafeUnpin for CyclomaticModified
impl UnwindSafe for CyclomaticModified
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