pub struct AbsoluteModulePathsConfig {
pub level: Level,
pub allow_prefixes: Vec<String>,
pub roots: Vec<String>,
pub allow_crate_root_macros: bool,
pub allow_crate_root_consts: bool,
pub allow_crate_root_fn_calls: bool,
}Fields§
§level: Level§allow_prefixes: Vec<String>§roots: Vec<String>§allow_crate_root_macros: bool§allow_crate_root_consts: bool§allow_crate_root_fn_calls: boolTrait Implementations§
Source§impl Clone for AbsoluteModulePathsConfig
impl Clone for AbsoluteModulePathsConfig
Source§fn clone(&self) -> AbsoluteModulePathsConfig
fn clone(&self) -> AbsoluteModulePathsConfig
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 AbsoluteModulePathsConfig
impl Debug for AbsoluteModulePathsConfig
Source§impl Default for AbsoluteModulePathsConfig
impl Default for AbsoluteModulePathsConfig
Source§impl<'de> Deserialize<'de> for AbsoluteModulePathsConfig
impl<'de> Deserialize<'de> for AbsoluteModulePathsConfig
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 AbsoluteModulePathsConfig
impl RuleOptions for AbsoluteModulePathsConfig
fn default_level() -> Level
Auto Trait Implementations§
impl Freeze for AbsoluteModulePathsConfig
impl RefUnwindSafe for AbsoluteModulePathsConfig
impl Send for AbsoluteModulePathsConfig
impl Sync for AbsoluteModulePathsConfig
impl Unpin for AbsoluteModulePathsConfig
impl UnsafeUnpin for AbsoluteModulePathsConfig
impl UnwindSafe for AbsoluteModulePathsConfig
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