pub struct Loc {Show 20 fields
pub sloc: u64,
pub ploc: u64,
pub lloc: u64,
pub cloc: u64,
pub blank: u64,
pub sloc_average: f64,
pub ploc_average: f64,
pub lloc_average: f64,
pub cloc_average: f64,
pub blank_average: f64,
pub sloc_min: u64,
pub sloc_max: u64,
pub cloc_min: u64,
pub cloc_max: u64,
pub ploc_min: u64,
pub ploc_max: u64,
pub lloc_min: u64,
pub lloc_max: u64,
pub blank_min: u64,
pub blank_max: u64,
}Expand description
Wire form of the Loc metric suite.
Fields§
§sloc: u64Source lines of code.
ploc: u64Physical lines of code.
lloc: u64Logical lines of code.
cloc: u64Comment lines of code.
blank: u64Blank lines.
sloc_average: f64Average SLOC per space.
ploc_average: f64Average PLOC per space.
lloc_average: f64Average LLOC per space.
cloc_average: f64Average CLOC per space.
blank_average: f64Average blank lines per space.
sloc_min: u64Minimum SLOC in a single space.
sloc_max: u64Maximum SLOC in a single space.
cloc_min: u64Minimum CLOC in a single space.
cloc_max: u64Maximum CLOC in a single space.
ploc_min: u64Minimum PLOC in a single space.
ploc_max: u64Maximum PLOC in a single space.
lloc_min: u64Minimum LLOC in a single space.
lloc_max: u64Maximum LLOC in a single space.
blank_min: u64Minimum blank lines in a single space.
blank_max: u64Maximum blank lines in a single space.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Loc
impl<'de> Deserialize<'de> for Loc
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 Loc
Auto Trait Implementations§
impl Freeze for Loc
impl RefUnwindSafe for Loc
impl Send for Loc
impl Sync for Loc
impl Unpin for Loc
impl UnsafeUnpin for Loc
impl UnwindSafe for Loc
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