pub struct EliminateDoubleNeg;Expand description
Eliminate double negation: Not(Not(x)) → x.
Trait Implementations§
Source§impl Clone for EliminateDoubleNeg
impl Clone for EliminateDoubleNeg
Source§fn clone(&self) -> EliminateDoubleNeg
fn clone(&self) -> EliminateDoubleNeg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EliminateDoubleNeg
impl Debug for EliminateDoubleNeg
Source§impl Default for EliminateDoubleNeg
impl Default for EliminateDoubleNeg
Source§fn default() -> EliminateDoubleNeg
fn default() -> EliminateDoubleNeg
Returns the “default value” for a type. Read more
Source§impl RewriteRule for EliminateDoubleNeg
impl RewriteRule for EliminateDoubleNeg
Source§fn is_recursive(&self) -> bool
fn is_recursive(&self) -> bool
Whether the engine should recurse into children of
expr before
trying this rule. Defaults to true (standard bottom-up traversal).Auto Trait Implementations§
impl Freeze for EliminateDoubleNeg
impl RefUnwindSafe for EliminateDoubleNeg
impl Send for EliminateDoubleNeg
impl Sync for EliminateDoubleNeg
impl Unpin for EliminateDoubleNeg
impl UnsafeUnpin for EliminateDoubleNeg
impl UnwindSafe for EliminateDoubleNeg
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