pub trait RandomGenerator<Input> {
    type Output;

    // Required method
    fn generate(&mut self, subject: Input) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn generate(&mut self, subject: Input) -> Self::Output

Implementations on Foreign Types§

source§

impl RandomGenerator<RangeInclusive<i32>> for ChaCha20Rng

§

type Output = i32

source§

fn generate(&mut self, s: RangeInclusive<i32>) -> i32

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<u128>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<i32>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<u32>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<u64>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<u64>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<i16>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<u16>>> for ChaCha20Rng

§

type Output = Vec<u16, Global>

source§

fn generate(&mut self, s: VecMarker<Range<u16>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<RangeInclusive<u8>>> for ChaCha20Rng

§

type Output = Vec<u8, Global>

source§

fn generate(&mut self, s: VecMarker<RangeInclusive<u8>>) -> Self::Output

source§

impl RandomGenerator<RangeInclusive<u64>> for ChaCha20Rng

§

type Output = u64

source§

fn generate(&mut self, s: RangeInclusive<u64>) -> u64

source§

impl RandomGenerator<Range<i16>> for ChaCha20Rng

§

type Output = i16

source§

fn generate(&mut self, s: Range<i16>) -> i16

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<i64>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<u8>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<u16>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<u16>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<i128>>> for ChaCha20Rng

§

type Output = Vec<i128, Global>

source§

fn generate(&mut self, s: VecMarker<Range<i128>>) -> Self::Output

source§

impl RandomGenerator<RangeInclusive<u32>> for ChaCha20Rng

§

type Output = u32

source§

fn generate(&mut self, s: RangeInclusive<u32>) -> u32

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<i16>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<u128>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<i32>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<u64>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<u128>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<i128>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<i16>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<u8>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<u32>>> for ChaCha20Rng

§

type Output = Vec<u32, Global>

source§

fn generate(&mut self, s: VecMarker<Range<u32>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<i128>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<isize>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<u128>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<Range<i128>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<u32>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<usize>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<u8>> for ChaCha20Rng

§

type Output = u8

source§

fn generate(&mut self, s: RangeInclusive<u8>) -> u8

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<i16>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<Range<u32>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<u8>>> for ChaCha20Rng

§

type Output = Vec<u8, Global>

source§

fn generate(&mut self, s: VecMarker<Range<u8>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<RangeInclusive<i16>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<i8>>> for ChaCha20Rng

§

type Output = Vec<i8, Global>

source§

fn generate(&mut self, s: VecMarker<RangeInclusive<i8>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<Range<u16>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<usize>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<usize>> for ChaCha20Rng

§

type Output = usize

source§

fn generate(&mut self, s: Range<usize>) -> usize

source§

impl RandomGenerator<RangeInclusive<i16>> for ChaCha20Rng

§

type Output = i16

source§

fn generate(&mut self, s: RangeInclusive<i16>) -> i16

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<i64>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<isize>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<i32>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<i64>> for ChaCha20Rng

§

type Output = i64

source§

fn generate(&mut self, s: RangeInclusive<i64>) -> i64

source§

impl RandomGenerator<Permutation> for ChaCha20Rng

§

type Output = Vec<usize, Global>

source§

fn generate(&mut self, subject: Permutation) -> Vec<usize>

source§

impl RandomGenerator<VecMarker<RangeInclusive<i64>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<usize>>> for ChaCha20Rng

§

type Output = Vec<usize, Global>

source§

fn generate(&mut self, s: VecMarker<Range<usize>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<Range<i8>>> for ChaCha20Rng

§

type Output = Vec<i8, Global>

source§

fn generate(&mut self, s: VecMarker<Range<i8>>) -> Self::Output

source§

impl RandomGenerator<Range<u32>> for ChaCha20Rng

§

type Output = u32

source§

fn generate(&mut self, s: Range<u32>) -> u32

source§

impl RandomGenerator<VecMarker<VecMarker<Range<u128>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<i128>> for ChaCha20Rng

§

type Output = i128

source§

fn generate(&mut self, s: Range<i128>) -> i128

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<i8>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<usize>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<usize>> for ChaCha20Rng

source§

impl RandomGenerator<AsciiGen> for ChaCha20Rng

§

type Output = char

source§

fn generate(&mut self, subject: AsciiGen) -> char

source§

impl RandomGenerator<VecMarker<VecMarker<Range<i64>>>> for ChaCha20Rng

source§

impl RandomGenerator<AsciiStringOfCharset> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<i32>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecOptionsMarker<RangeInclusive<i64>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<i64>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<u16>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<u32>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Permutation>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<isize>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<isize>> for ChaCha20Rng

§

type Output = isize

source§

fn generate(&mut self, s: Range<isize>) -> isize

source§

impl RandomGenerator<VecMarker<VecMarker<Range<i16>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<i32>>> for ChaCha20Rng

§

type Output = Vec<i32, Global>

source§

fn generate(&mut self, s: VecMarker<Range<i32>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<Range<isize>>> for ChaCha20Rng

§

type Output = Vec<isize, Global>

source§

fn generate(&mut self, s: VecMarker<Range<isize>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<u8>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<u16>> for ChaCha20Rng

§

type Output = u16

source§

fn generate(&mut self, s: Range<u16>) -> u16

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<i64>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<i8>> for ChaCha20Rng

§

type Output = i8

source§

fn generate(&mut self, s: Range<i8>) -> i8

source§

impl RandomGenerator<RangeInclusive<i128>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<i16>>> for ChaCha20Rng

§

type Output = Vec<i16, Global>

source§

fn generate(&mut self, s: VecMarker<Range<i16>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<Range<u8>>>> for ChaCha20Rng

§

type Output = Vec<Vec<u8, Global>, Global>

source§

fn generate(&mut self, s: VecMarker<VecMarker<Range<u8>>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<Range<isize>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<Range<usize>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<u16>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<u128>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<usize>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<i8>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<i128>>>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<u16>> for ChaCha20Rng

§

type Output = u16

source§

fn generate(&mut self, s: RangeInclusive<u16>) -> u16

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<u16>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<i64>> for ChaCha20Rng

§

type Output = i64

source§

fn generate(&mut self, s: Range<i64>) -> i64

source§

impl RandomGenerator<AsciiStringOfDistribution> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<u16>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<u8>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<RangeInclusive<isize>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<u128>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<i8>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<i64>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<u128>> for ChaCha20Rng

§

type Output = u128

source§

fn generate(&mut self, s: Range<u128>) -> u128

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<u64>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<u32>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<u8>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<usize>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<i32>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<isize>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<u8>> for ChaCha20Rng

§

type Output = u8

source§

fn generate(&mut self, s: Range<u8>) -> u8

source§

impl RandomGenerator<VecMarker<Range<u64>>> for ChaCha20Rng

§

type Output = Vec<u64, Global>

source§

fn generate(&mut self, s: VecMarker<Range<u64>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<Range<u128>>> for ChaCha20Rng

§

type Output = Vec<u128, Global>

source§

fn generate(&mut self, s: VecMarker<Range<u128>>) -> Self::Output

source§

impl RandomGenerator<RangeInclusive<i8>> for ChaCha20Rng

§

type Output = i8

source§

fn generate(&mut self, s: RangeInclusive<i8>) -> i8

source§

impl RandomGenerator<VecMarker<VecMarker<Range<u64>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<u64>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<i32>> for ChaCha20Rng

§

type Output = i32

source§

fn generate(&mut self, s: Range<i32>) -> i32

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<i128>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<u64>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<i8>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<i128>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<i128>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<RangeInclusive<i16>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<Range<i32>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<Range<i8>>>> for ChaCha20Rng

§

type Output = Vec<Vec<i8, Global>, Global>

source§

fn generate(&mut self, s: VecMarker<VecMarker<Range<i8>>>) -> Self::Output

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<u32>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<Range<u64>> for ChaCha20Rng

§

type Output = u64

source§

fn generate(&mut self, s: Range<u64>) -> u64

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<i8>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<i32>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<RangeInclusive<isize>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<RangeInclusive<u32>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<RangeInclusive<u128>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<VecMarker<Range<isize>>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<VecMarker<VecMarker<Range<usize>>>>> for ChaCha20Rng

source§

impl RandomGenerator<VecMarker<Range<i64>>> for ChaCha20Rng

§

type Output = Vec<i64, Global>

source§

fn generate(&mut self, s: VecMarker<Range<i64>>) -> Self::Output

Implementors§