pub fn new_v4_rng(rng: &mut Rng) -> Self {
        let mut uuid = Uuid::nil();
        rng.fill_bytes(&mut uuid.0);
        uuid.set_variant(Variant::Rfc4122);
        uuid.set_version(Version::Random);
        uuid
    }
/// Create a new Version 4(Random) UUID, using the provided [`Rng`]
///
/// This method is useful if you need to generate a lot of UUID's very
/// quickly, since it won't create and seed a new RNG each time.
///
/// Providing a good seed is left to you, however.
/// If a bad seed is used, the resulting UUIDs may not be
/// sufficiently random or unique.
///
/// # Example
///
/// ```rust
/// # use nuuid::{Rng, Uuid};
/// # let seed = [0; 32];
/// let mut rng = Rng::from_seed(seed);
/// for _ in 0..10 {
///     let uuid = Uuid::new_v4_rng(&mut rng);
/// }
/// ```
Create a new Version 4(Random) UUID, using the provided [`Rng`]
This method is useful if you need to generate a lot of UUID's very
quickly, since it won't create and seed a new RNG each time.

Providing a good seed is left to you, however.
If a bad seed is used, the resulting UUIDs may not be
sufficiently random or unique.
Create a new Version 4 ( Random ) UUID using the provided [ ` Rng ` ] This method is useful if you need to generate a lot of UUID ' s very quickly since it won ' t create and seed a new RNG each time . Providing a good seed is left to you however . If a bad seed is used the resulting UUIDs may not be sufficiently random or unique .
pub fn new_v4_rng(rng: &mut Rng) -> Self {
        let mut uuid = Uuid::nil();
        rng.fill_bytes(&mut uuid.0);
        uuid.set_variant(Variant::Rfc4122);
        uuid.set_version(Version::Random);
        uuid
    }
pub fn new_v4_rng ( rng : & mut Rng ) -> Self { let mut uuid = Uuid :: nil ( ) ; rng . fill_bytes ( & mut uuid . 0 ) ; uuid . set_variant ( Variant :: Rfc4122 ) ; uuid . set_version ( Version :: Random ) ; uuid }
Create a new Version 4(Random) UUID, using the provided [`Rng`]
This method is useful if you need to generate a lot of UUID's very
quickly, since it won't create and seed a new RNG each time.
Create a new Version 4 ( Random ) UUID using the provided [ ` Rng ` ] This method is useful if you need to generate a lot of UUID ' s very quickly since it won ' t create and seed a new RNG each time .
rng
&mut Rng
example
None
use nuuid::{rng, uuid};
None
let seed = [0; 32];
let mut rng = Rng::from_seed;
for _ in 0..10 {
let uuid = Uuid::new_v4_rng(&mut rng);
}
```
let mut rng = Rng :: from_seed ; for _ in 0 .. 10 { let uuid = Uuid :: new_v4_rng ( &mut rng ) ; } ` ` `