pub struct StyleSummary {
pub files_analyzed: u32,
pub common_indent_style: String,
pub line80_compliant_pct: u8,
pub line_col_compliant_pct: u8,
pub col_threshold: u16,
pub by_language: Vec<LanguageStyleGroup>,
}Expand description
Aggregate multi-language style-guide adherence across all analysed files.
Fields§
§files_analyzed: u32Total files for which style data was produced.
common_indent_style: StringMost common indent style across all analysed files.
line80_compliant_pct: u8Percentage of all analysed files (0–100) with ≤ 5 % of lines over 80 chars (legacy, always 80).
line_col_compliant_pct: u8Percentage of all analysed files (0–100) with ≤ 5 % of lines over col_threshold chars.
col_threshold: u16Column-width threshold used for line_col_compliant_pct (from analysis.style_col_threshold).
by_language: Vec<LanguageStyleGroup>Per-language-family breakdown, sorted by files_count descending.
Trait Implementations§
Source§impl Clone for StyleSummary
impl Clone for StyleSummary
Source§fn clone(&self) -> StyleSummary
fn clone(&self) -> StyleSummary
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 StyleSummary
impl Debug for StyleSummary
Source§impl<'de> Deserialize<'de> for StyleSummary
impl<'de> Deserialize<'de> for StyleSummary
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
Auto Trait Implementations§
impl Freeze for StyleSummary
impl RefUnwindSafe for StyleSummary
impl Send for StyleSummary
impl Sync for StyleSummary
impl Unpin for StyleSummary
impl UnsafeUnpin for StyleSummary
impl UnwindSafe for StyleSummary
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