pub struct DiagramSliceCondition { /* private fields */ }Expand description
Executable slices should adhere to diagram rule.
Implementations§
Source§impl DiagramSliceCondition
impl DiagramSliceCondition
Sourcepub const fn project_locator(&self) -> &ProjectLocator
pub const fn project_locator(&self) -> &ProjectLocator
Returns where Cargo project discovery begins.
Sourcepub const fn projection(&self) -> &SliceProjection
pub const fn projection(&self) -> &SliceProjection
Returns the immutable file-to-slice projection.
Sourcepub const fn diagram_source(&self) -> &DiagramSource
pub const fn diagram_source(&self) -> &DiagramSource
Returns the lazy inline or file-backed diagram source.
Sourcepub const fn options(&self) -> &DiagramAdherenceOptions
pub const fn options(&self) -> &DiagramAdherenceOptions
Returns the immutable adherence modifiers.
Sourcepub const fn is_negated(&self) -> bool
pub const fn is_negated(&self) -> bool
Returns whether the fluent mood is negated.
Trait Implementations§
Source§impl Checkable for DiagramSliceCondition
impl Checkable for DiagramSliceCondition
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 DiagramSliceCondition
impl Clone for DiagramSliceCondition
Source§fn clone(&self) -> DiagramSliceCondition
fn clone(&self) -> DiagramSliceCondition
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 DiagramSliceCondition
impl RefUnwindSafe for DiagramSliceCondition
impl Send for DiagramSliceCondition
impl Sync for DiagramSliceCondition
impl Unpin for DiagramSliceCondition
impl UnwindSafe for DiagramSliceCondition
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