pub struct AuthorLineCounts {
pub code_lines: u64,
pub comment_lines: u64,
pub blank_lines: u64,
pub total_lines: u64,
}Expand description
Line tallies bucketed the same three ways as LineCategory. total_lines is the sum of
the three category counts (i.e. physical lines owned).
Fields§
§code_lines: u64§comment_lines: u64§blank_lines: u64§total_lines: u64Trait Implementations§
Source§impl Clone for AuthorLineCounts
impl Clone for AuthorLineCounts
Source§fn clone(&self) -> AuthorLineCounts
fn clone(&self) -> AuthorLineCounts
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 moreimpl Copy for AuthorLineCounts
Source§impl Debug for AuthorLineCounts
impl Debug for AuthorLineCounts
Source§impl Default for AuthorLineCounts
impl Default for AuthorLineCounts
Source§fn default() -> AuthorLineCounts
fn default() -> AuthorLineCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorLineCounts
impl<'de> Deserialize<'de> for AuthorLineCounts
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 Eq for AuthorLineCounts
Source§impl PartialEq for AuthorLineCounts
impl PartialEq for AuthorLineCounts
Source§impl Serialize for AuthorLineCounts
impl Serialize for AuthorLineCounts
impl StructuralPartialEq for AuthorLineCounts
Auto Trait Implementations§
impl Freeze for AuthorLineCounts
impl RefUnwindSafe for AuthorLineCounts
impl Send for AuthorLineCounts
impl Sync for AuthorLineCounts
impl Unpin for AuthorLineCounts
impl UnsafeUnpin for AuthorLineCounts
impl UnwindSafe for AuthorLineCounts
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