pub struct GeometricRV {
pub p: f64,
}Expand description
Geometric random variable X ~ Geom(p) (number of trials until first success).
Fields§
§p: f64Implementations§
Source§impl GeometricRV
impl GeometricRV
Trait Implementations§
Source§impl Clone for GeometricRV
impl Clone for GeometricRV
Source§fn clone(&self) -> GeometricRV
fn clone(&self) -> GeometricRV
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 GeometricRV
impl RefUnwindSafe for GeometricRV
impl Send for GeometricRV
impl Sync for GeometricRV
impl Unpin for GeometricRV
impl UnsafeUnpin for GeometricRV
impl UnwindSafe for GeometricRV
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