pub struct DiceGroup {
pub count: u32,
pub sides: u32,
pub keep: Keep,
}Expand description
A group of identical dice, e.g. 2d10 means 2 ten-sided dice.
Fields§
§count: u32§sides: u32§keep: KeepTrait Implementations§
impl Eq for DiceGroup
impl StructuralPartialEq for DiceGroup
Auto Trait Implementations§
impl Freeze for DiceGroup
impl RefUnwindSafe for DiceGroup
impl Send for DiceGroup
impl Sync for DiceGroup
impl Unpin for DiceGroup
impl UnsafeUnpin for DiceGroup
impl UnwindSafe for DiceGroup
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