pub struct SourcedGlobalConfig {Show 17 fields
pub enable: SourcedValue<Vec<String>>,
pub disable: SourcedValue<Vec<String>>,
pub exclude: SourcedValue<Vec<String>>,
pub include: SourcedValue<Vec<String>>,
pub include_withheld: Option<String>,
pub respect_gitignore: SourcedValue<bool>,
pub line_length: SourcedValue<LineLength>,
pub output_format: Option<SourcedValue<String>>,
pub fixable: SourcedValue<Vec<String>>,
pub unfixable: SourcedValue<Vec<String>>,
pub flavor: SourcedValue<MarkdownFlavor>,
pub force_exclude: SourcedValue<bool>,
pub cache_dir: Option<SourcedValue<String>>,
pub cache: SourcedValue<bool>,
pub extend_enable: SourcedValue<Vec<String>>,
pub extend_disable: SourcedValue<Vec<String>>,
pub editorconfig: SourcedValue<bool>,
}Fields§
§enable: SourcedValue<Vec<String>>§disable: SourcedValue<Vec<String>>§exclude: SourcedValue<Vec<String>>§include: SourcedValue<Vec<String>>§include_withheld: Option<String>How to name the file that supplied Self::include when its contents may
not be quoted back (an extends target), and None when they may. The
patterns apply as written; only the walk’s message about one it cannot use
has to leave it out. Already display-ready, as
SourcedConfigFragment::unknown_keys describes.
respect_gitignore: SourcedValue<bool>§line_length: SourcedValue<LineLength>§output_format: Option<SourcedValue<String>>§fixable: SourcedValue<Vec<String>>§unfixable: SourcedValue<Vec<String>>§flavor: SourcedValue<MarkdownFlavor>§force_exclude: SourcedValue<bool>§cache_dir: Option<SourcedValue<String>>§cache: SourcedValue<bool>§extend_enable: SourcedValue<Vec<String>>§extend_disable: SourcedValue<Vec<String>>§editorconfig: SourcedValue<bool>Trait Implementations§
Source§impl Clone for SourcedGlobalConfig
impl Clone for SourcedGlobalConfig
Source§fn clone(&self) -> SourcedGlobalConfig
fn clone(&self) -> SourcedGlobalConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourcedGlobalConfig
impl Debug for SourcedGlobalConfig
Auto Trait Implementations§
impl Freeze for SourcedGlobalConfig
impl RefUnwindSafe for SourcedGlobalConfig
impl Send for SourcedGlobalConfig
impl Sync for SourcedGlobalConfig
impl Unpin for SourcedGlobalConfig
impl UnsafeUnpin for SourcedGlobalConfig
impl UnwindSafe for SourcedGlobalConfig
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