pub struct Roll {
pub vals: Vec<u64>,
pub total: i64,
pub sides: NonZeroU64,
}
Fields§
§vals: Vec<u64>
§total: i64
§sides: NonZeroU64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Roll
impl RefUnwindSafe for Roll
impl Send for Roll
impl Sync for Roll
impl Unpin for Roll
impl UnwindSafe for Roll
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