pub struct Random<T: RandomlyConstructable>(/* private fields */);
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> Freeze for Random<T>where
T: Freeze,
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