pub struct ArchitectureOptions {
pub analysis: AnalysisOptions,
pub files: Vec<PathBuf>,
pub cycles: bool,
pub boundaries: bool,
pub policy: bool,
}Expand description
Options for the analysis of fallow architecture: import cycles, boundary
violations and rule-pack policy violations.
No selector reports every architecture issue type. Each selector keeps one
kind, as --cycles, --boundaries and --policy do on the CLI.
Fields§
§analysis: AnalysisOptionsShared analysis options.
files: Vec<PathBuf>Restrict findings to these files when non-empty.
cycles: boolImport cycles: circular dependencies, re-export cycles and workspace package cycles.
boundaries: boolBoundary violations, boundary coverage and forbidden calls.
policy: boolRule-pack policy violations.
Implementations§
Source§impl ArchitectureOptions
impl ArchitectureOptions
Sourcepub fn dead_code_filters(&self) -> DeadCodeFilters
pub fn dead_code_filters(&self) -> DeadCodeFilters
The dead-code issue-type filters that the selectors stand for.
Sourcepub fn dead_code_options(&self) -> DeadCodeOptions
pub fn dead_code_options(&self) -> DeadCodeOptions
The dead-code options that run this analysis.
Trait Implementations§
Source§impl Clone for ArchitectureOptions
impl Clone for ArchitectureOptions
Source§impl Debug for ArchitectureOptions
impl Debug for ArchitectureOptions
Auto Trait Implementations§
impl Freeze for ArchitectureOptions
impl RefUnwindSafe for ArchitectureOptions
impl Send for ArchitectureOptions
impl Sync for ArchitectureOptions
impl Unpin for ArchitectureOptions
impl UnsafeUnpin for ArchitectureOptions
impl UnwindSafe for ArchitectureOptions
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