pub struct DeadCodeOptions {
pub analysis: AnalysisOptions,
pub filters: DeadCodeFilters,
pub files: Vec<PathBuf>,
pub include_entry_exports: bool,
}Expand description
Options for dead-code-oriented analyses.
Fields§
§analysis: AnalysisOptionsShared analysis options.
filters: DeadCodeFiltersIssue-type selection; everything is reported when no filter is set.
files: Vec<PathBuf>Restrict findings to these files when non-empty.
include_entry_exports: boolAlso report unused exports declared in entry-point files.
Trait Implementations§
Source§impl Clone for DeadCodeOptions
impl Clone for DeadCodeOptions
Source§impl Debug for DeadCodeOptions
impl Debug for DeadCodeOptions
Auto Trait Implementations§
impl Freeze for DeadCodeOptions
impl RefUnwindSafe for DeadCodeOptions
impl Send for DeadCodeOptions
impl Sync for DeadCodeOptions
impl Unpin for DeadCodeOptions
impl UnsafeUnpin for DeadCodeOptions
impl UnwindSafe for DeadCodeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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