pub struct SmallRngRef<'a>(/* private fields */);Trait Implementations§
Source§impl<'a> From<&'a mut SmallRng> for SmallRngRef<'a>
impl<'a> From<&'a mut SmallRng> for SmallRngRef<'a>
Source§fn from(rng: &mut SRNG) -> SmallRngRef<'_>
fn from(rng: &mut SRNG) -> SmallRngRef<'_>
Converts to this type from the input type.
Source§impl<'a> RandomNumberGenerator for SmallRngRef<'a>
impl<'a> RandomNumberGenerator for SmallRngRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SmallRngRef<'a>
impl<'a> RefUnwindSafe for SmallRngRef<'a>
impl<'a> Send for SmallRngRef<'a>
impl<'a> Sync for SmallRngRef<'a>
impl<'a> Unpin for SmallRngRef<'a>
impl<'a> !UnwindSafe for SmallRngRef<'a>
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