pub struct FileStats {
pub path: PathBuf,
pub language: String,
pub lines: LineStats,
pub size: u64,
pub complexity: Complexity,
}Expand description
Statistics for a single file.
Fields§
§path: PathBufFile path.
language: StringDetected language name.
lines: LineStatsLine statistics.
size: u64File size in bytes.
complexity: ComplexityComplexity metrics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileStats
impl RefUnwindSafe for FileStats
impl Send for FileStats
impl Sync for FileStats
impl Unpin for FileStats
impl UnwindSafe for FileStats
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