pub struct RuleSet { /* private fields */ }Implementations§
Source§impl RuleSet
impl RuleSet
pub fn new() -> Self
pub fn with_rule<R>(self, rule: R) -> Selfwhere
R: ArchitectureRule + 'static,
pub fn push<R>(&mut self, rule: R)where
R: ArchitectureRule + 'static,
pub fn evaluate(&self, graph: &ArchitectureGraph) -> EvaluationReport
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuleSet
impl !UnwindSafe for RuleSet
impl Freeze for RuleSet
impl Send for RuleSet
impl Sync for RuleSet
impl Unpin for RuleSet
impl UnsafeUnpin for RuleSet
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