pub struct ComplexityChecker { /* private fields */ }Expand description
Checks for complexity threshold violations
Implementations§
Source§impl ComplexityChecker
impl ComplexityChecker
Sourcepub fn new(config: ComplexityConfig) -> Self
pub fn new(config: ComplexityConfig) -> Self
Create a new complexity checker
Trait Implementations§
Source§impl ValidationRule for ComplexityChecker
impl ValidationRule for ComplexityChecker
Auto Trait Implementations§
impl Freeze for ComplexityChecker
impl RefUnwindSafe for ComplexityChecker
impl Send for ComplexityChecker
impl Sync for ComplexityChecker
impl Unpin for ComplexityChecker
impl UnsafeUnpin for ComplexityChecker
impl UnwindSafe for ComplexityChecker
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