pub struct Dice<F, Rng>{ /* private fields */ }Expand description
Dice struct represents an implementation of dice, using a generic Faces collection and RNG.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F, Rng> Freeze for Dice<F, Rng>
impl<F, Rng> RefUnwindSafe for Dice<F, Rng>where
Rng: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, Rng> Send for Dice<F, Rng>
impl<F, Rng> Sync for Dice<F, Rng>
impl<F, Rng> Unpin for Dice<F, Rng>
impl<F, Rng> UnwindSafe for Dice<F, Rng>where
Rng: UnwindSafe,
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