pub struct SlotResult {
pub slot_id: u32,
pub die_name: String,
pub locked: bool,
pub current_value: Option<FaceValue>,
}Expand description
Snapshot result for one tray slot.
Fields§
§slot_id: u32Stable slot identifier within the tray.
die_name: StringCanonical die name assigned to the slot.
locked: boolWhether this slot is locked against future tray rolls.
current_value: Option<FaceValue>Most recent rolled value for the slot.
Trait Implementations§
Source§impl Clone for SlotResult
impl Clone for SlotResult
Source§fn clone(&self) -> SlotResult
fn clone(&self) -> SlotResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlotResult
impl Debug for SlotResult
Source§impl PartialEq for SlotResult
impl PartialEq for SlotResult
Source§fn eq(&self, other: &SlotResult) -> bool
fn eq(&self, other: &SlotResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlotResult
Auto Trait Implementations§
impl Freeze for SlotResult
impl RefUnwindSafe for SlotResult
impl Send for SlotResult
impl Sync for SlotResult
impl Unpin for SlotResult
impl UnsafeUnpin for SlotResult
impl UnwindSafe for SlotResult
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