[][src]Function taurus::util::rand::dice

pub fn dice<T>(x: T, y: T) -> bool where
    T: Copy + Display + Integer + SampleRange

Returns true with x in y chance.