pub struct SumRollingRecord {
pub dest: RegisterIndex,
pub src: RollingRecordIndex,
}Expand description
Instruction: Compute the result of a rolling record,
ignoring any dice marked as dropped by DropLowest or DropHighest.
The summation is clamped to the range of an i32.
Fields§
§dest: RegisterIndexThe destination register for the result.
src: RollingRecordIndexThe source rolling record to compute.
Trait Implementations§
Source§impl Clone for SumRollingRecord
impl Clone for SumRollingRecord
Source§fn clone(&self) -> SumRollingRecord
fn clone(&self) -> SumRollingRecord
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 SumRollingRecord
impl Debug for SumRollingRecord
Source§impl<'de> Deserialize<'de> for SumRollingRecord
impl<'de> Deserialize<'de> for SumRollingRecord
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 SumRollingRecord
impl Display for SumRollingRecord
Source§impl From<SumRollingRecord> for Instruction
impl From<SumRollingRecord> for Instruction
Source§fn from(inst: SumRollingRecord) -> Self
fn from(inst: SumRollingRecord) -> Self
Converts to this type from the input type.
Source§impl Hash for SumRollingRecord
impl Hash for SumRollingRecord
Source§impl PartialEq for SumRollingRecord
impl PartialEq for SumRollingRecord
Source§impl Serialize for SumRollingRecord
impl Serialize for SumRollingRecord
Source§impl TryFrom<Instruction> for SumRollingRecord
impl TryFrom<Instruction> for SumRollingRecord
impl Copy for SumRollingRecord
impl Eq for SumRollingRecord
impl StructuralPartialEq for SumRollingRecord
Auto Trait Implementations§
impl Freeze for SumRollingRecord
impl RefUnwindSafe for SumRollingRecord
impl Send for SumRollingRecord
impl Sync for SumRollingRecord
impl Unpin for SumRollingRecord
impl UnwindSafe for SumRollingRecord
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