Trait pcg_rand::numops::PcgOps

source ·
pub trait PcgOps {
    fn wrap_mul(&self, rhs: Self) -> Self;
    fn wrap_add(&self, rhs: Self) -> Self;
}
Expand description

The types of numaric options that PCG needs to operate. Some day this will be replaced with Num-traits when they support wrapping opts for everything, and when extprim supports those traits as well.

Required Methods

Implementations on Foreign Types

Implementors