Struct bolero_generator::driver::Options
source · pub struct Options { /* private fields */ }
Implementations§
source§impl Options
impl Options
pub const DEFAULT_MAX_DEPTH: usize = 32usize
pub const DEFAULT_SHRINK_TIME: Duration = _
pub fn with_driver_mode(self, driver_mode: DriverMode) -> Self
pub fn with_shrink_time(self, shrink_time: Duration) -> Self
pub fn with_max_depth(self, max_depth: usize) -> Self
pub fn set_driver_mode(&mut self, driver_mode: DriverMode) -> &mut Self
pub fn set_shrink_time(&mut self, shrink_time: Duration) -> &mut Self
pub fn set_max_depth(&mut self, max_depth: usize) -> &mut Self
pub fn max_depth(&self) -> Option<usize>
pub fn shrink_time(&self) -> Option<Duration>
pub fn driver_mode(&self) -> Option<DriverMode>
pub fn max_depth_or_default(&self) -> usize
pub fn shrink_time_or_default(&self) -> Duration
pub fn merge_from(&mut self, other: &Self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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