pub struct RollStandardDice {
pub dest: RollingRecordIndex,
pub count: AddressingMode,
pub faces: AddressingMode,
}Expand description
Instruction: Roll a set of standard dice.
Fields§
§dest: RollingRecordIndexThe destination rolling record for the results.
count: AddressingModeThe number of dice to roll.
faces: AddressingModeThe number of faces on each die.
Trait Implementations§
Source§impl Clone for RollStandardDice
impl Clone for RollStandardDice
Source§fn clone(&self) -> RollStandardDice
fn clone(&self) -> RollStandardDice
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RollStandardDice
impl Debug for RollStandardDice
Source§impl<'de> Deserialize<'de> for RollStandardDice
impl<'de> Deserialize<'de> for RollStandardDice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RollStandardDice
impl Display for RollStandardDice
Source§impl From<RollStandardDice> for Instruction
impl From<RollStandardDice> for Instruction
Source§fn from(inst: RollStandardDice) -> Self
fn from(inst: RollStandardDice) -> Self
Converts to this type from the input type.
Source§impl Hash for RollStandardDice
impl Hash for RollStandardDice
Source§impl PartialEq for RollStandardDice
impl PartialEq for RollStandardDice
Source§impl Serialize for RollStandardDice
impl Serialize for RollStandardDice
Source§impl TryFrom<Instruction> for RollStandardDice
impl TryFrom<Instruction> for RollStandardDice
impl Copy for RollStandardDice
impl Eq for RollStandardDice
impl StructuralPartialEq for RollStandardDice
Auto Trait Implementations§
impl Freeze for RollStandardDice
impl RefUnwindSafe for RollStandardDice
impl Send for RollStandardDice
impl Sync for RollStandardDice
impl Unpin for RollStandardDice
impl UnwindSafe for RollStandardDice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more