[][src]Trait gameprng::Randomizable

pub trait Randomizable {
    fn generate(algorithm: &mut dyn PrngAlgorithm) -> Self;
fn random_range(
        minimum: Self,
        maximum: Self,
        algorithm: &mut dyn PrngAlgorithm
    ) -> Self; }

Required methods

fn generate(algorithm: &mut dyn PrngAlgorithm) -> Self

fn random_range(
    minimum: Self,
    maximum: Self,
    algorithm: &mut dyn PrngAlgorithm
) -> Self

Loading content...

Implementations on Foreign Types

impl Randomizable for u8[src]

impl Randomizable for u16[src]

impl Randomizable for u32[src]

impl Randomizable for u64[src]

impl Randomizable for usize[src]

impl Randomizable for i8[src]

impl Randomizable for i16[src]

impl Randomizable for i32[src]

impl Randomizable for i64[src]

impl Randomizable for isize[src]

impl Randomizable for f32[src]

impl Randomizable for f64[src]

Loading content...

Implementors

Loading content...