pub struct SmellConfig {
pub general: GeneralConfig,
pub unused_tags: UnusedTagsConfig,
pub undefined_tags: UndefinedTagsConfig,
pub empty_routines: EmptyRoutinesConfig,
}Expand description
Main configuration for the smell detector.
Fields§
§general: GeneralConfigGlobal settings
Unused tag detection settings
Undefined tag detection settings
empty_routines: EmptyRoutinesConfigEmpty routine detection settings
Implementations§
Trait Implementations§
Source§impl Clone for SmellConfig
impl Clone for SmellConfig
Source§fn clone(&self) -> SmellConfig
fn clone(&self) -> SmellConfig
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 SmellConfig
impl Debug for SmellConfig
Source§impl Default for SmellConfig
impl Default for SmellConfig
Source§fn default() -> SmellConfig
fn default() -> SmellConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmellConfigwhere
SmellConfig: Default,
impl<'de> Deserialize<'de> for SmellConfigwhere
SmellConfig: Default,
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 SmellConfig
impl RefUnwindSafe for SmellConfig
impl Send for SmellConfig
impl Sync for SmellConfig
impl Unpin for SmellConfig
impl UnwindSafe for SmellConfig
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