Struct pcg_rand::multiplier::DefaultMultiplier
source · pub struct DefaultMultiplier;
Expand description
Provides a default “good” multiplier based on the multiplier provided in the C++ implementation of PCG
Trait Implementations
sourceimpl Multiplier<u128> for DefaultMultiplier
impl Multiplier<u128> for DefaultMultiplier
fn multiplier() -> u128
sourceimpl Multiplier<u16> for DefaultMultiplier
impl Multiplier<u16> for DefaultMultiplier
fn multiplier() -> u16
sourceimpl Multiplier<u32> for DefaultMultiplier
impl Multiplier<u32> for DefaultMultiplier
fn multiplier() -> u32
sourceimpl Multiplier<u64> for DefaultMultiplier
impl Multiplier<u64> for DefaultMultiplier
fn multiplier() -> u64
sourceimpl Multiplier<u8> for DefaultMultiplier
impl Multiplier<u8> for DefaultMultiplier
fn multiplier() -> u8
Auto Trait Implementations
impl RefUnwindSafe for DefaultMultiplier
impl Send for DefaultMultiplier
impl Sync for DefaultMultiplier
impl Unpin for DefaultMultiplier
impl UnwindSafe for DefaultMultiplier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more