[][src]Trait one_d_six::DiceTotal

pub trait DiceTotal<T: Rollable> {
    fn dice_total(dice_faces: Vec<T>) -> T;
}

Allows one_d_six::Dice::total to be used.

Required methods

fn dice_total(dice_faces: Vec<T>) -> T

Loading content...

Implementations on Foreign Types

impl DiceTotal<u8> for u8[src]

impl DiceTotal<u16> for u16[src]

impl DiceTotal<u32> for u32[src]

impl DiceTotal<u64> for u64[src]

impl DiceTotal<u128> for u128[src]

impl DiceTotal<usize> for usize[src]

impl DiceTotal<i8> for i8[src]

impl DiceTotal<i16> for i16[src]

impl DiceTotal<i32> for i32[src]

impl DiceTotal<i64> for i64[src]

impl DiceTotal<i128> for i128[src]

impl DiceTotal<isize> for isize[src]

Loading content...

Implementors

Loading content...