pub struct RngFactory { /* private fields */ }Expand description
Factory for deterministic, independently seeded RNG streams.
Streams are derived from a master seed and a stream id so algorithms can request reproducible substreams without a global RNG.
Implementations§
Trait Implementations§
Source§impl Clone for RngFactory
impl Clone for RngFactory
Source§fn clone(&self) -> RngFactory
fn clone(&self) -> RngFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RngFactory
impl Debug for RngFactory
impl Eq for RngFactory
Source§impl PartialEq for RngFactory
impl PartialEq for RngFactory
impl StructuralPartialEq for RngFactory
Auto Trait Implementations§
impl Freeze for RngFactory
impl RefUnwindSafe for RngFactory
impl Send for RngFactory
impl Sync for RngFactory
impl Unpin for RngFactory
impl UnsafeUnpin for RngFactory
impl UnwindSafe for RngFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more