pub struct RollStats {
pub min: i64,
pub max: i64,
pub mean: f64,
}Expand description
Theoretical statistics for a dice expression (min, max, mean).
Computed analytically; does not account for advantage/disadvantage.
Fields§
§min: i64§max: i64§mean: f64Trait Implementations§
impl StructuralPartialEq for RollStats
Auto Trait Implementations§
impl Freeze for RollStats
impl RefUnwindSafe for RollStats
impl Send for RollStats
impl Sync for RollStats
impl Unpin for RollStats
impl UnsafeUnpin for RollStats
impl UnwindSafe for RollStats
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