Enum caith::RollResultType
source · pub enum RollResultType {
Single(SingleRollResult),
Repeated(RepeatedRollResult),
}
Expand description
Distinguish between a simple roll and a repeated roll using ^
.
Variants
Single(SingleRollResult)
A single roll
Repeated(RepeatedRollResult)
An expression repeated multiple times (using the ^
operator)
Trait Implementations
sourceimpl Clone for RollResultType
impl Clone for RollResultType
sourcefn clone(&self) -> RollResultType
fn clone(&self) -> RollResultType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for RollResultType
impl Send for RollResultType
impl Sync for RollResultType
impl Unpin for RollResultType
impl UnwindSafe for RollResultType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more