pub struct RulesEngine { /* private fields */ }Implementations§
Source§impl RulesEngine
impl RulesEngine
pub fn new() -> Self
pub fn with_default_rules() -> Self
pub fn add_rule(&mut self, rule: Arc<dyn Rule>)
pub fn analyze(&self, schematic: &Schematic) -> Vec<Issue>
Sourcepub fn analyze_enhanced(
&self,
schematic: &Schematic,
context: Option<&RuleContext>,
) -> Vec<Issue>
pub fn analyze_enhanced( &self, schematic: &Schematic, context: Option<&RuleContext>, ) -> Vec<Issue>
Enhanced analyze with capacitor classifications and decoupling groups
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RulesEngine
impl !RefUnwindSafe for RulesEngine
impl Send for RulesEngine
impl Sync for RulesEngine
impl Unpin for RulesEngine
impl !UnwindSafe for RulesEngine
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