pub struct FileComplexityConfig {
pub level: Level,
pub mode: ComplexityMode,
pub max_file: u32,
pub max_fn: u32,
pub count_question: bool,
pub match_arms: bool,
}Fields§
§level: Level§mode: ComplexityMode§max_file: u32§max_fn: u32§count_question: bool§match_arms: boolTrait Implementations§
Source§impl Clone for FileComplexityConfig
impl Clone for FileComplexityConfig
Source§fn clone(&self) -> FileComplexityConfig
fn clone(&self) -> FileComplexityConfig
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 FileComplexityConfig
impl Debug for FileComplexityConfig
Source§impl Default for FileComplexityConfig
impl Default for FileComplexityConfig
Source§impl<'de> Deserialize<'de> for FileComplexityConfig
impl<'de> Deserialize<'de> for FileComplexityConfig
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 RuleOptions for FileComplexityConfig
impl RuleOptions for FileComplexityConfig
fn default_level() -> Level
Auto Trait Implementations§
impl Freeze for FileComplexityConfig
impl RefUnwindSafe for FileComplexityConfig
impl Send for FileComplexityConfig
impl Sync for FileComplexityConfig
impl Unpin for FileComplexityConfig
impl UnsafeUnpin for FileComplexityConfig
impl UnwindSafe for FileComplexityConfig
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