pub struct ControlVariates {
pub n_samples: usize,
}Expand description
Configuration for control variates estimator.
Fields§
§n_samples: usizeNumber of samples to generate.
Implementations§
Trait Implementations§
Source§impl Clone for ControlVariates
impl Clone for ControlVariates
Source§fn clone(&self) -> ControlVariates
fn clone(&self) -> ControlVariates
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 ControlVariates
impl Debug for ControlVariates
Auto Trait Implementations§
impl Freeze for ControlVariates
impl RefUnwindSafe for ControlVariates
impl Send for ControlVariates
impl Sync for ControlVariates
impl Unpin for ControlVariates
impl UnwindSafe for ControlVariates
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