Trait pcg_rand::numops::PcgOps[][src]

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

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

fn wrap_mul(&self, rhs: Self) -> Self[src]

fn wrap_add(&self, rhs: Self) -> Self[src]

Loading content...

Implementations on Foreign Types

impl PcgOps for u8[src]

impl PcgOps for u16[src]

impl PcgOps for u32[src]

impl PcgOps for u64[src]

impl PcgOps for u128[src]

Loading content...

Implementors

Loading content...