pub enum MutationKind {
Negate,
WrapExists,
WrapForall,
AndWith,
OrWith,
ReplaceSubexpr,
Duplicate,
}Expand description
Mutation operations for expressions.
Variants§
Negate
Negate the expression
WrapExists
Wrap in existential quantifier
WrapForall
Wrap in universal quantifier
AndWith
Add conjunction with random expression
OrWith
Add disjunction with random expression
ReplaceSubexpr
Replace a subexpression
Duplicate
Duplicate expression (wrap in AND with self)
Trait Implementations§
Source§impl Clone for MutationKind
impl Clone for MutationKind
Source§fn clone(&self) -> MutationKind
fn clone(&self) -> MutationKind
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 MutationKind
impl Debug for MutationKind
Source§impl PartialEq for MutationKind
impl PartialEq for MutationKind
impl Copy for MutationKind
impl Eq for MutationKind
impl StructuralPartialEq for MutationKind
Auto Trait Implementations§
impl Freeze for MutationKind
impl RefUnwindSafe for MutationKind
impl Send for MutationKind
impl Sync for MutationKind
impl Unpin for MutationKind
impl UnwindSafe for MutationKind
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