pub struct Stats { /* private fields */ }
Expand description
Merges a second Loc
metric suite into the first one
The Sloc
metric.
Counts the number of lines in a scope
The Ploc
metric.
Counts the number of instruction lines in a scope
The Lloc
metric.
Counts the number of statements in a scope
The Cloc
metric.
Counts the number of comments in a scope
The Blank
metric.
Counts the number of blank lines in a scope
The Sloc
metric average value.
This value is computed dividing the Sloc
value for the number of spaces
The Ploc
metric average value.
This value is computed dividing the Ploc
value for the number of spaces
The Lloc
metric average value.
This value is computed dividing the Lloc
value for the number of spaces
The Cloc
metric average value.
This value is computed dividing the Cloc
value for the number of spaces
The Blank
metric average value.
This value is computed dividing the Blank
value for the number of spaces
The Sloc
metric minimum value.
The Sloc
metric maximum value.
The Cloc
metric minimum value.
The Cloc
metric maximum value.
The Ploc
metric minimum value.
The Ploc
metric maximum value.
The Lloc
metric minimum value.
The Lloc
metric maximum value.
The Blank
metric minimum value.
The Blank
metric maximum value.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Formats the value using the given formatter.
Read more
Serialize this value into the given Serde serializer.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
Converts the given value to a
String
.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.