pub struct F64Strategy { /* private fields */ }Implementations§
Source§impl F64Strategy
impl F64Strategy
Trait Implementations§
Source§impl Clone for F64Strategy
impl Clone for F64Strategy
Source§fn clone(&self) -> F64Strategy
fn clone(&self) -> F64Strategy
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 F64Strategy
impl Debug for F64Strategy
Source§impl Generator<f64> for F64Strategy
impl Generator<f64> for F64Strategy
Source§impl Strategy for F64Strategy
impl Strategy for F64Strategy
Source§fn generate<R: Rng>(&self, rng: &mut R, config: &GeneratorConfig) -> f64
fn generate<R: Rng>(&self, rng: &mut R, config: &GeneratorConfig) -> f64
Generate a value using this strategy
Source§fn shrink(&self, value: &f64) -> Box<dyn Iterator<Item = f64>>
fn shrink(&self, value: &f64) -> Box<dyn Iterator<Item = f64>>
Create an iterator of shrunk values from the given value
Source§fn map<F, U>(self, f: F) -> Map<Self, F>
fn map<F, U>(self, f: F) -> Map<Self, F>
Map this strategy to produce values of a different type
Auto Trait Implementations§
impl Freeze for F64Strategy
impl RefUnwindSafe for F64Strategy
impl Send for F64Strategy
impl Sync for F64Strategy
impl Unpin for F64Strategy
impl UnwindSafe for F64Strategy
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