pub struct LintThresholds {
pub complexity_criteria: usize,
pub complexity_files: usize,
pub complexity_words: usize,
pub simple_criteria: usize,
pub simple_files: usize,
pub simple_words: usize,
}Expand description
Thresholds for linter complexity heuristics
Fields§
§complexity_criteria: usizeMax acceptance criteria for complex specs (default: 10)
complexity_files: usizeMax target files for complex specs (default: 5)
complexity_words: usizeMax words in title for complex specs (default: 150)
simple_criteria: usizeMin acceptance criteria for simple specs (default: 1)
simple_files: usizeMin target files for simple specs (default: 1)
simple_words: usizeMin words in title for simple specs (default: 3)
Trait Implementations§
Source§impl Clone for LintThresholds
impl Clone for LintThresholds
Source§fn clone(&self) -> LintThresholds
fn clone(&self) -> LintThresholds
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 LintThresholds
impl Debug for LintThresholds
Source§impl Default for LintThresholds
impl Default for LintThresholds
Source§impl<'de> Deserialize<'de> for LintThresholds
impl<'de> Deserialize<'de> for LintThresholds
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 LintThresholds
impl RefUnwindSafe for LintThresholds
impl Send for LintThresholds
impl Sync for LintThresholds
impl Unpin for LintThresholds
impl UnwindSafe for LintThresholds
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