pub struct Random<T: RandomlyConstructable>(_);
Expand description
A random value constructed from a SecureRandom
that hasn’t been exposed
through any safe Rust interface.
Intentionally does not implement any traits other than Sized
.
Implementations
sourceimpl<T: RandomlyConstructable> Random<T>
impl<T: RandomlyConstructable> Random<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Random<T>where
T: RefUnwindSafe,
impl<T> Send for Random<T>where
T: Send,
impl<T> Sync for Random<T>where
T: Sync,
impl<T> Unpin for Random<T>where
T: Unpin,
impl<T> UnwindSafe for Random<T>where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more