Struct clippy_lints::utils::conf::Conf [] [src]

pub struct Conf {
    pub blacklisted_names: Vec<String>,
    pub cyclomatic_complexity_threshold: u64,
    pub doc_valid_idents: Vec<String>,
    pub too_many_arguments_threshold: u64,
    pub type_complexity_threshold: u64,
    pub max_single_char_names: u64,
    pub too_large_for_stack: u64,
    pub enum_variant_name_threshold: u64,
}

Type used to store lint configuration.

Fields

Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about

Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have

Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks

Lint: TOO_MANY_ARGUMENTS. The maximum number of argument a function or method can have

Lint: TYPE_COMPLEXITY. The maximum complexity a type can have

Lint: MANY_SINGLE_CHAR_NAMES. The maximum number of single char bindings a scope may have

Lint: BOXED_LOCAL. The maximum size of objects (in bytes) that will be linted. Larger objects are ok on the heap

Lint: ENUM_VARIANT_NAMES. The minimum number of enum variants for the lints about variant names to trigger

Trait Implementations

impl Default for Conf
[src]

Returns the "default value" for a type. Read more