pub struct NormalDist {
pub mean: f64,
pub std_dev: f64,
}Expand description
Normal (Gaussian) distribution.
Fields§
§mean: f64§std_dev: f64Implementations§
Source§impl NormalDist
impl NormalDist
Trait Implementations§
Source§impl Clone for NormalDist
impl Clone for NormalDist
Source§fn clone(&self) -> NormalDist
fn clone(&self) -> NormalDist
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 Freeze for NormalDist
impl RefUnwindSafe for NormalDist
impl Send for NormalDist
impl Sync for NormalDist
impl Unpin for NormalDist
impl UnsafeUnpin for NormalDist
impl UnwindSafe for NormalDist
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