Struct rust_code_analysis::nargs::Stats [−][src]
pub struct Stats { /* fields omitted */ }
Expand description
The NArgs
metric.
This metric counts the number of arguments of functions/closures.
Implementations
Returns the number of closure arguments in a space.
Returns the number of function arguments sum in a space.
Returns the number of closure arguments sum in a space.
Returns the average number of functions arguments in a space.
Returns the average number of closures arguments in a space.
Returns the total number of arguments of each function and closure in a space.
Returns the NArgs
metric average value
This value is computed dividing the NArgs
value
for the total number of functions/closures in a space.
Returns the minimum number of function arguments in a space.
Returns the maximum number of function arguments in a space.
Returns the minimum number of closure arguments in a space.
Returns the maximum number of closure arguments in a space.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stats
impl UnwindSafe for Stats
Blanket Implementations
Mutably borrows from an owned value. Read more