pub struct CombinedOptions {
pub analysis: AnalysisOptions,
pub production_dead_code: Option<bool>,
pub production_health: Option<bool>,
pub production_dupes: Option<bool>,
pub dead_code: bool,
pub duplication: bool,
pub health: bool,
pub include_entry_exports: bool,
pub show_cascade: bool,
pub duplication_options: DuplicationOptions,
pub health_options: ComplexityOptions,
}Expand description
Options for bare combined analysis through the programmatic API.
Fields§
§analysis: AnalysisOptionsShared analysis options.
production_dead_code: Option<bool>Production override of the dead-code domain. It wins over
analysis.production_override; None uses that override, then the
config.
production_health: Option<bool>Production override of the health domain, as production_dead_code.
production_dupes: Option<bool>Production override of the duplication domain, as
production_dead_code.
dead_code: boolRun the dead-code domain.
duplication: boolRun the duplication domain.
health: boolRun the health domain.
include_entry_exports: boolAlso report unused exports declared in entry-point files.
show_cascade: boolKeep the export and member findings of unused files (--show-cascade).
duplication_options: DuplicationOptionsOptions for the duplication domain.
health_options: ComplexityOptionsOptions for the health domain.
Trait Implementations§
Source§impl Clone for CombinedOptions
impl Clone for CombinedOptions
Source§impl Debug for CombinedOptions
impl Debug for CombinedOptions
Auto Trait Implementations§
impl Forget for CombinedOptions
impl Freeze for CombinedOptions
impl Move for CombinedOptions
impl RefUnwindSafe for CombinedOptions
impl Send for CombinedOptions
impl Sync for CombinedOptions
impl Unpin for CombinedOptions
impl UnsafeUnpin for CombinedOptions
impl UnwindSafe for CombinedOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more