pub struct D6(/* private fields */);Expand description
A D6 die (6 faces): a roll will give you a u8 in the 1..=6 range.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for D6
impl RefUnwindSafe for D6
impl Send for D6
impl Sync for D6
impl Unpin for D6
impl UnwindSafe for D6
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