pub struct RollAnalysis {
pub expected_value: f64,
pub point_range: PointRange,
}Expand description
Deterministic analysis for a roll expression.
Fields§
§expected_value: f64Average point value of the roll, including modifiers.
point_range: PointRangeInclusive minimum and maximum point values, including modifiers.
Trait Implementations§
Source§impl Clone for RollAnalysis
impl Clone for RollAnalysis
Source§fn clone(&self) -> RollAnalysis
fn clone(&self) -> RollAnalysis
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 RollAnalysis
impl Debug for RollAnalysis
Source§impl PartialEq for RollAnalysis
impl PartialEq for RollAnalysis
Source§fn eq(&self, other: &RollAnalysis) -> bool
fn eq(&self, other: &RollAnalysis) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RollAnalysis
Auto Trait Implementations§
impl Freeze for RollAnalysis
impl RefUnwindSafe for RollAnalysis
impl Send for RollAnalysis
impl Sync for RollAnalysis
impl Unpin for RollAnalysis
impl UnsafeUnpin for RollAnalysis
impl UnwindSafe for RollAnalysis
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