pub struct SourceSummary {
pub lines: usize,
pub words: usize,
pub chars: usize,
pub blank_lines: usize,
}Expand description
A source file summary.
Fields§
§lines: usizeNumber of lines
words: usizeNumber of words
chars: usizeNumber of characters
blank_lines: usizeNumber of blank lines
Implementations§
Trait Implementations§
Source§impl Debug for SourceSummary
impl Debug for SourceSummary
Source§impl Default for SourceSummary
impl Default for SourceSummary
Source§fn default() -> SourceSummary
fn default() -> SourceSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourceSummary
impl RefUnwindSafe for SourceSummary
impl Send for SourceSummary
impl Sync for SourceSummary
impl Unpin for SourceSummary
impl UnsafeUnpin for SourceSummary
impl UnwindSafe for SourceSummary
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