pub enum Keep {
All,
Highest(u32),
Lowest(u32),
}Expand description
Keep rule applied to a dice group after rolling.
Variants§
All
Keep all dice (default).
Highest(u32)
Keep only the N highest dice.
Lowest(u32)
Keep only the N lowest dice.
Trait Implementations§
impl Eq for Keep
impl StructuralPartialEq for Keep
Auto Trait Implementations§
impl Freeze for Keep
impl RefUnwindSafe for Keep
impl Send for Keep
impl Sync for Keep
impl Unpin for Keep
impl UnsafeUnpin for Keep
impl UnwindSafe for Keep
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