pub struct Nom {
pub functions: u64,
pub closures: u64,
pub functions_average: f64,
pub closures_average: f64,
pub total: u64,
pub average: f64,
pub functions_min: u64,
pub functions_max: u64,
pub closures_min: u64,
pub closures_max: u64,
}Expand description
Wire form of the Nom (number-of-methods) metric.
Fields§
§functions: u64Sum of function definitions.
closures: u64Sum of closures.
functions_average: f64Average function definitions per space.
closures_average: f64Average closures per space.
total: u64Total functions + closures.
average: f64Average functions + closures per space.
functions_min: u64Minimum function definitions in a single space.
functions_max: u64Maximum function definitions in a single space.
closures_min: u64Minimum closures in a single space.
closures_max: u64Maximum closures in a single space.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nom
impl<'de> Deserialize<'de> for Nom
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
impl StructuralPartialEq for Nom
Auto Trait Implementations§
impl Freeze for Nom
impl RefUnwindSafe for Nom
impl Send for Nom
impl Sync for Nom
impl Unpin for Nom
impl UnsafeUnpin for Nom
impl UnwindSafe for Nom
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