pub struct ParsedRoll {
pub dice: Vec<String>,
pub modifiers: Vec<i64>,
}Expand description
Parsed roll input.
Fields§
§dice: Vec<String>Expanded die names in roll order.
modifiers: Vec<i64>Integer modifiers that should be added to roll analysis.
Trait Implementations§
Source§impl Clone for ParsedRoll
impl Clone for ParsedRoll
Source§fn clone(&self) -> ParsedRoll
fn clone(&self) -> ParsedRoll
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 ParsedRoll
impl Debug for ParsedRoll
impl Eq for ParsedRoll
Source§impl PartialEq for ParsedRoll
impl PartialEq for ParsedRoll
Source§fn eq(&self, other: &ParsedRoll) -> bool
fn eq(&self, other: &ParsedRoll) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedRoll
Auto Trait Implementations§
impl Freeze for ParsedRoll
impl RefUnwindSafe for ParsedRoll
impl Send for ParsedRoll
impl Sync for ParsedRoll
impl Unpin for ParsedRoll
impl UnsafeUnpin for ParsedRoll
impl UnwindSafe for ParsedRoll
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