pub struct Rand0_6CompatWrapper<R: ?Sized>(/* private fields */);Expand description
Rand 0.6 compatibility wrapper.
Implementations§
Source§impl<R> Rand0_6CompatWrapper<R>
impl<R> Rand0_6CompatWrapper<R>
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Returns the inner value.
Trait Implementations§
Source§impl<R> RngCore for Rand0_6CompatWrapper<R>
Available on crate feature std only.
impl<R> RngCore for Rand0_6CompatWrapper<R>
Available on crate feature
std only.Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest with random data. Read moreimpl<R> CryptoRng for Rand0_6CompatWrapper<R>
Auto Trait Implementations§
impl<R> Freeze for Rand0_6CompatWrapper<R>
impl<R> RefUnwindSafe for Rand0_6CompatWrapper<R>where
R: RefUnwindSafe + ?Sized,
impl<R> Send for Rand0_6CompatWrapper<R>
impl<R> Sync for Rand0_6CompatWrapper<R>
impl<R> Unpin for Rand0_6CompatWrapper<R>
impl<R> UnwindSafe for Rand0_6CompatWrapper<R>where
R: UnwindSafe + ?Sized,
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
Source§impl<T> CryptoRngCore for T
impl<T> CryptoRngCore for T
Source§fn as_rngcore(&mut self) -> &mut dyn RngCore
fn as_rngcore(&mut self) -> &mut dyn RngCore
Upcast to an
RngCore trait object.