pub struct DensityEntry {
pub path: String,
pub markers: u32,
pub lines: u32,
pub per_kloc: f64,
}Expand description
One file in the _Home overview’s intent-debt density table.
Fields§
§path: StringRepository-relative path, used for both the wikilink and the label.
markers: u32Retained markers in the file.
lines: u32The file’s length in lines — the denominator.
per_kloc: f64Markers per 1,000 lines.
Trait Implementations§
Source§impl Clone for DensityEntry
impl Clone for DensityEntry
Source§fn clone(&self) -> DensityEntry
fn clone(&self) -> DensityEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DensityEntry
impl RefUnwindSafe for DensityEntry
impl Send for DensityEntry
impl Sync for DensityEntry
impl Unpin for DensityEntry
impl UnsafeUnpin for DensityEntry
impl UnwindSafe for DensityEntry
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