pub struct Nargs {
pub function_args: u64,
pub closure_args: u64,
pub function_args_average: f64,
pub closure_args_average: f64,
pub total: u64,
pub average: f64,
pub function_args_min: u64,
pub function_args_max: u64,
pub closure_args_min: u64,
pub closure_args_max: u64,
}Expand description
Wire form of the NArgs metric.
Fields§
§function_args: u64Sum of function arguments.
closure_args: u64Sum of closure arguments.
function_args_average: f64Average function arguments per function.
closure_args_average: f64Average closure arguments per closure.
total: u64Total arguments (functions + closures).
average: f64Average arguments per function/closure.
function_args_min: u64Minimum function arguments in a single function.
function_args_max: u64Maximum function arguments in a single function.
closure_args_min: u64Minimum closure arguments in a single closure.
closure_args_max: u64Maximum closure arguments in a single closure.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nargs
impl<'de> Deserialize<'de> for Nargs
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 Nargs
Auto Trait Implementations§
impl Freeze for Nargs
impl RefUnwindSafe for Nargs
impl Send for Nargs
impl Sync for Nargs
impl Unpin for Nargs
impl UnsafeUnpin for Nargs
impl UnwindSafe for Nargs
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