pub struct PureNegativeRule;Implementations§
Source§impl PureNegativeRule
impl PureNegativeRule
pub fn is_pure_negative_query(&self, expr: &Expression) -> bool
Trait Implementations§
Source§impl ValidationRule for PureNegativeRule
impl ValidationRule for PureNegativeRule
fn name(&self) -> &'static str
fn validate( &self, _expr: &Expression, _ctx: &ValidationContext, ) -> ValidationResult
fn can_validate(&self, _expr: &Expression) -> bool
Auto Trait Implementations§
impl Freeze for PureNegativeRule
impl RefUnwindSafe for PureNegativeRule
impl Send for PureNegativeRule
impl Sync for PureNegativeRule
impl Unpin for PureNegativeRule
impl UnsafeUnpin for PureNegativeRule
impl UnwindSafe for PureNegativeRule
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