pub struct RulesEngine { /* private fields */ }Implementations§
Source§impl RulesEngine
impl RulesEngine
pub fn new(config: RulesConfig) -> Self
pub fn check_graph(&self, graph: &CodeGraph) -> Vec<RuleViolation>
pub fn check_files(&self, files: &[ScannedFile]) -> Vec<RuleViolation>
Auto Trait Implementations§
impl Freeze for RulesEngine
impl RefUnwindSafe for RulesEngine
impl Send for RulesEngine
impl Sync for RulesEngine
impl Unpin for RulesEngine
impl UnsafeUnpin 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