pub enum ShrinkStrategy {
BreadthFirst,
DepthFirst,
}Expand description
Search strategy for shrinking
Variants§
BreadthFirst
Breadth-first: Try all shrinks at current depth before going deeper
DepthFirst
Depth-first: Follow first successful shrink as far as possible
Trait Implementations§
Source§impl Clone for ShrinkStrategy
impl Clone for ShrinkStrategy
impl Copy for ShrinkStrategy
Source§impl Debug for ShrinkStrategy
impl Debug for ShrinkStrategy
impl Eq for ShrinkStrategy
Source§impl PartialEq for ShrinkStrategy
impl PartialEq for ShrinkStrategy
impl StructuralPartialEq for ShrinkStrategy
Auto Trait Implementations§
impl Freeze for ShrinkStrategy
impl RefUnwindSafe for ShrinkStrategy
impl Send for ShrinkStrategy
impl Sync for ShrinkStrategy
impl Unpin for ShrinkStrategy
impl UnsafeUnpin for ShrinkStrategy
impl UnwindSafe for ShrinkStrategy
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