pub fn new_rng(&mut self) -> SeededRng {
        let new_seed = [
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
        ];
        SeededRng(XorShiftRng::from_seed(new_seed))
    }
/// Construct a new `SeededRng`
/// using a seed generated from random data provided by `self`.
Construct a new `SeededRng`
using a seed generated from random data provided by `self`.
Construct a new ` SeededRng ` using a seed generated from random data provided by ` self ` .
pub fn new_rng(&mut self) -> SeededRng {
        let new_seed = [
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
            self.0.next_u32().wrapping_add(self.0.next_u32()),
        ];
        SeededRng(XorShiftRng::from_seed(new_seed))
    }
pub fn new_rng ( & mut self ) -> SeededRng { let new_seed = [ self . 0 . next_u32 ( ) . wrapping_add ( self . 0 . next_u32 ( ) ) , self . 0 . next_u32 ( ) . wrapping_add ( self . 0 . next_u32 ( ) ) , self . 0 . next_u32 ( ) . wrapping_add ( self . 0 . next_u32 ( ) ) , self . 0 . next_u32 ( ) . wrapping_add ( self . 0 . next_u32 ( ) ) , ] ; SeededRng ( XorShiftRng :: from_seed ( new_seed ) ) }
Construct a new `SeededRng`
using a seed generated from random data provided by `self`.
Construct a new ` SeededRng ` using a seed generated from random data provided by ` self ` .
&mut self
&mut self