pub struct EstimateOptions<R: Rng> {
pub chunk_size: usize,
pub sample_length: usize,
pub num_samples: usize,
pub rng: R,
}Fields§
§chunk_size: usize§sample_length: usize§num_samples: usize§rng: RTrait Implementations§
Source§impl<R: Clone + Rng> Clone for EstimateOptions<R>
impl<R: Clone + Rng> Clone for EstimateOptions<R>
Source§fn clone(&self) -> EstimateOptions<R>
fn clone(&self) -> EstimateOptions<R>
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 moreAuto Trait Implementations§
impl<R> Freeze for EstimateOptions<R>where
R: Freeze,
impl<R> RefUnwindSafe for EstimateOptions<R>where
R: RefUnwindSafe,
impl<R> Send for EstimateOptions<R>where
R: Send,
impl<R> Sync for EstimateOptions<R>where
R: Sync,
impl<R> Unpin for EstimateOptions<R>where
R: Unpin,
impl<R> UnwindSafe for EstimateOptions<R>where
R: UnwindSafe,
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