pub struct Rule { /* private fields */ }Implementations§
Source§impl Rule
impl Rule
pub fn new( metadata: RuleMetadata, selector: DescribedSelector, condition: DescribedCondition, ) -> Self
Trait Implementations§
Source§impl ArchitectureRule for Rule
impl ArchitectureRule for Rule
fn metadata(&self) -> &RuleMetadata
fn evaluate(&self, graph: &ArchitectureGraph) -> RuleResult
Auto Trait Implementations§
impl !RefUnwindSafe for Rule
impl !UnwindSafe for Rule
impl Freeze for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
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