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§
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§
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