Trait pcg_rand::multiplier::Multiplier
[−]
[src]
pub trait Multiplier<Itype> { fn multiplier() -> Itype; }
This trait provides the multiplier for the internal LCG of the PCG generator Implementing this trait for a struct will allow providing your own multiplier for the PCG.
Required Methods
fn multiplier() -> Itype
Implementors
impl Multiplier<u8> for DefaultMultiplier
impl Multiplier<u16> for DefaultMultiplier
impl Multiplier<u32> for DefaultMultiplier
impl Multiplier<u64> for DefaultMultiplier
impl Multiplier<u128> for DefaultMultiplier
impl Multiplier<u8> for McgMultiplier
impl Multiplier<u16> for McgMultiplier
impl Multiplier<u32> for McgMultiplier
impl Multiplier<u64> for McgMultiplier
impl Multiplier<u128> for McgMultiplier