pub enum Dice<const FACES: u8> {}Expand description
Origin arker for dice entropy. FACES is the die geometry — e.g.
Dice<6> for a d6, Dice<20> for a d20. Distinct values yield
distinct types at compile time.
Auto Trait Implementations§
impl<const FACES: u8> Freeze for Dice<FACES>
impl<const FACES: u8> RefUnwindSafe for Dice<FACES>
impl<const FACES: u8> Send for Dice<FACES>
impl<const FACES: u8> Sync for Dice<FACES>
impl<const FACES: u8> Unpin for Dice<FACES>
impl<const FACES: u8> UnsafeUnpin for Dice<FACES>
impl<const FACES: u8> UnwindSafe for Dice<FACES>
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