pub struct UniformDist {
pub min: f64,
pub max: f64,
}Expand description
Continuous uniform distribution.
Fields§
§min: f64§max: f64Implementations§
Trait Implementations§
Source§impl Clone for UniformDist
impl Clone for UniformDist
Source§fn clone(&self) -> UniformDist
fn clone(&self) -> UniformDist
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 UniformDist
impl RefUnwindSafe for UniformDist
impl Send for UniformDist
impl Sync for UniformDist
impl Unpin for UniformDist
impl UnsafeUnpin for UniformDist
impl UnwindSafe for UniformDist
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