pub struct CodeLanguageSummary {
pub kind: LanguageKind,
pub files: usize,
pub total_lines: usize,
pub code_lines: usize,
pub comment_lines: usize,
pub blank_lines: usize,
}Fields§
§kind: LanguageKind§files: usize§total_lines: usize§code_lines: usize§comment_lines: usize§blank_lines: usizeTrait Implementations§
Source§impl Clone for CodeLanguageSummary
impl Clone for CodeLanguageSummary
Source§fn clone(&self) -> CodeLanguageSummary
fn clone(&self) -> CodeLanguageSummary
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 moreSource§impl Debug for CodeLanguageSummary
impl Debug for CodeLanguageSummary
Source§impl<'de> Deserialize<'de> for CodeLanguageSummary
impl<'de> Deserialize<'de> for CodeLanguageSummary
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
Source§impl PartialEq for CodeLanguageSummary
impl PartialEq for CodeLanguageSummary
Source§fn eq(&self, other: &CodeLanguageSummary) -> bool
fn eq(&self, other: &CodeLanguageSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeLanguageSummary
impl Serialize for CodeLanguageSummary
impl Eq for CodeLanguageSummary
impl StructuralPartialEq for CodeLanguageSummary
Auto Trait Implementations§
impl Freeze for CodeLanguageSummary
impl RefUnwindSafe for CodeLanguageSummary
impl Send for CodeLanguageSummary
impl Sync for CodeLanguageSummary
impl Unpin for CodeLanguageSummary
impl UnsafeUnpin for CodeLanguageSummary
impl UnwindSafe for CodeLanguageSummary
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