pub struct DieRoll {
pub roll_id: usize,
pub die_name: String,
pub value: FaceValue,
}Expand description
Result of rolling one die.
Fields§
§roll_id: usizeOne-based roll number within a batch, or 1 for a single-die roll.
die_name: StringCanonical name of the die that was rolled.
value: FaceValueFace value selected by the roll.
Trait Implementations§
impl StructuralPartialEq for DieRoll
Auto Trait Implementations§
impl Freeze for DieRoll
impl RefUnwindSafe for DieRoll
impl Send for DieRoll
impl Sync for DieRoll
impl Unpin for DieRoll
impl UnsafeUnpin for DieRoll
impl UnwindSafe for DieRoll
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