pub struct ThreadFastRng(/* private fields */);
Expand description
A shim that points to the global FastRng
instance. isn’t safe for multi-threading.
This struct is created by thread_local()
Trait Implementations§
Source§impl Deref for ThreadFastRng
impl Deref for ThreadFastRng
Auto Trait Implementations§
impl Freeze for ThreadFastRng
impl RefUnwindSafe for ThreadFastRng
impl !Send for ThreadFastRng
impl !Sync for ThreadFastRng
impl Unpin for ThreadFastRng
impl UnwindSafe for ThreadFastRng
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