pub struct Die { /* private fields */ }
Expand description
Die Object
This object is created using the builder pattern. The user has the option of setting the number of sides and the RNG used by the Die.
Implementations§
Auto Trait Implementations§
impl Freeze for Die
impl !RefUnwindSafe for Die
impl !Send for Die
impl !Sync for Die
impl Unpin for Die
impl !UnwindSafe for Die
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