pub struct ComplexityConfig {
pub enable_cognitive_complexity: bool,
pub enable_maintainability_index: bool,
pub enable_language_specific: bool,
pub thresholds: ComplexityThresholds,
}Expand description
Configuration for complexity analysis
Fields§
§enable_cognitive_complexity: boolEnable cognitive complexity calculation
enable_maintainability_index: boolEnable maintainability index calculation
enable_language_specific: boolLanguage-specific analysis
thresholds: ComplexityThresholdsThresholds for complexity warnings
Trait Implementations§
Source§impl Clone for ComplexityConfig
impl Clone for ComplexityConfig
Source§fn clone(&self) -> ComplexityConfig
fn clone(&self) -> ComplexityConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ComplexityConfig
impl Debug for ComplexityConfig
Auto Trait Implementations§
impl Freeze for ComplexityConfig
impl RefUnwindSafe for ComplexityConfig
impl Send for ComplexityConfig
impl Sync for ComplexityConfig
impl Unpin for ComplexityConfig
impl UnwindSafe for ComplexityConfig
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