pub struct CcStats {
pub mean: f64,
pub median: u32,
pub min: u32,
pub max: u32,
pub std: f64,
pub total: usize,
}Expand description
Distribution stats over a class’s per-method CC values.
Fields§
§mean: f64§median: u32§min: u32§max: u32§std: f64§total: usizeNumber of methods (values.len()).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CcStats
impl<'de> Deserialize<'de> for CcStats
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
Auto Trait Implementations§
impl Freeze for CcStats
impl RefUnwindSafe for CcStats
impl Send for CcStats
impl Sync for CcStats
impl Unpin for CcStats
impl UnsafeUnpin for CcStats
impl UnwindSafe for CcStats
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