1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use ;
use crateChaCha8Rand;
/// Integration with rand_core v0.9 / rand v0.9. Requires crate feature `rand_core_0_9`.
///
/// The trait methods simply delegate to the equivalent inherent methods. `next_u32` maps to
/// [`ChaCha8Rand::read_u32`], and so on.
/// Integration with rand_core v0.6 / rand v0.8. Requires crate feature `rand_core_0_6`.
///
/// `from_seed` is equivalent to [`ChaCha8Rand::new`] except that it takes the seed by value instead
/// of by reference.