Struct rand_distr::InverseGaussian
source · pub struct InverseGaussian<F>{ /* private fields */ }
Expand description
Implementations§
source§impl<F> InverseGaussian<F>
impl<F> InverseGaussian<F>
sourcepub fn new(mean: F, shape: F) -> Result<InverseGaussian<F>, Error>
pub fn new(mean: F, shape: F) -> Result<InverseGaussian<F>, Error>
Construct a new InverseGaussian
distribution with the given mean and
shape.
Trait Implementations§
source§impl<F> Clone for InverseGaussian<F>
impl<F> Clone for InverseGaussian<F>
source§fn clone(&self) -> InverseGaussian<F>
fn clone(&self) -> InverseGaussian<F>
Returns a copy 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<F> Debug for InverseGaussian<F>
impl<F> Debug for InverseGaussian<F>
source§impl<F> Distribution<F> for InverseGaussian<F>
impl<F> Distribution<F> for InverseGaussian<F>
impl<F> Copy for InverseGaussian<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for InverseGaussian<F>where
F: RefUnwindSafe,
impl<F> Send for InverseGaussian<F>where
F: Send,
impl<F> Sync for InverseGaussian<F>where
F: Sync,
impl<F> Unpin for InverseGaussian<F>where
F: Unpin,
impl<F> UnwindSafe for InverseGaussian<F>where
F: 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