pub struct Geometric { /* private fields */ }Expand description
Geometric(p) over k=1,2,… counts trials until first success.
Implementations§
Trait Implementations§
impl Copy for Geometric
Source§impl Distribution for Geometric
impl Distribution for Geometric
Source§impl Moments for Geometric
impl Moments for Geometric
Auto Trait Implementations§
impl Freeze for Geometric
impl RefUnwindSafe for Geometric
impl Send for Geometric
impl Sync for Geometric
impl Unpin for Geometric
impl UnsafeUnpin for Geometric
impl UnwindSafe for Geometric
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