pub struct MetricZoneCondition { /* private fields */ }Expand description
Executable distance rule that rejects one architectural zone.
Implementations§
Source§impl MetricZoneCondition
impl MetricZoneCondition
Sourcepub const fn zone(&self) -> ArchitecturalZone
pub const fn zone(&self) -> ArchitecturalZone
Returns the zone rejected by this rule.
Sourcepub fn project_path(&self) -> Option<&Path>
pub fn project_path(&self) -> Option<&Path>
Returns the explicit discovery path, or None for automatic discovery.
Sourcepub fn project_locator(&self) -> ProjectLocator
pub fn project_locator(&self) -> ProjectLocator
Returns where project discovery starts.
Trait Implementations§
Source§impl Checkable for MetricZoneCondition
impl Checkable for MetricZoneCondition
Source§fn check_with(&self, options: &CheckOptions) -> CheckResult
fn check_with(&self, options: &CheckOptions) -> CheckResult
Runs the rule with an explicit immutable options bag.
Source§fn check(&self) -> CheckResult
fn check(&self) -> CheckResult
Runs the rule with the strict, quiet defaults from
CheckOptions.Source§impl Clone for MetricZoneCondition
impl Clone for MetricZoneCondition
Source§fn clone(&self) -> MetricZoneCondition
fn clone(&self) -> MetricZoneCondition
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetricZoneCondition
impl RefUnwindSafe for MetricZoneCondition
impl Send for MetricZoneCondition
impl Sync for MetricZoneCondition
impl Unpin for MetricZoneCondition
impl UnwindSafe for MetricZoneCondition
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