pub struct KtlintArgs {Show 20 fields
pub color: bool,
pub color_name: String,
pub format: bool,
pub ignore_autocorrect_failures: bool,
pub limit: usize,
pub relative: bool,
pub reporter_configurations: Vec<String>,
pub ruleset_jar_paths: Vec<String>,
pub stdin: bool,
pub stdin_path: Option<String>,
pub patterns_from_stdin: Option<String>,
pub editor_config_path: Option<String>,
pub force_lint_after_format: bool,
pub baseline_path: String,
pub arguments: Vec<String>,
pub min_log_level: Level,
pub ktlint_version: KtlintVersion,
pub gradle_events: Option<String>,
pub relative_to: Option<String>,
pub editor_config_overrides: Vec<String>,
}Expand description
KtlintCommandLine’s options.
Fields§
§color: bool§color_name: String§format: bool§ignore_autocorrect_failures: bool§limit: usize§relative: bool§reporter_configurations: Vec<String>§ruleset_jar_paths: Vec<String>§stdin: bool§stdin_path: Option<String>§patterns_from_stdin: Option<String>§editor_config_path: Option<String>§force_lint_after_format: bool§baseline_path: String§arguments: Vec<String>§min_log_level: Level§ktlint_version: KtlintVersion§gradle_events: Option<String>ktrs-only (the Gradle plugin’s): gradle.
relative_to: Option<String>§editor_config_overrides: Vec<String>Trait Implementations§
Source§impl Clone for KtlintArgs
impl Clone for KtlintArgs
Source§impl Debug for KtlintArgs
impl Debug for KtlintArgs
Source§impl Default for KtlintArgs
impl Default for KtlintArgs
Source§fn default() -> KtlintArgs
fn default() -> KtlintArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KtlintArgs
impl RefUnwindSafe for KtlintArgs
impl Send for KtlintArgs
impl Sync for KtlintArgs
impl Unpin for KtlintArgs
impl UnsafeUnpin for KtlintArgs
impl UnwindSafe for KtlintArgs
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