pub struct Random { /* private fields */ }
Implementations§
Source§impl Random
impl Random
pub fn builder() -> RandomBuilder
pub fn random_u32(&mut self) -> u32
pub fn random_u64(&mut self) -> u64
pub fn get_context(&self) -> (u32, u32, u32, u32)
Auto Trait Implementations§
impl Freeze for Random
impl RefUnwindSafe for Random
impl Send for Random
impl Sync for Random
impl Unpin for Random
impl UnwindSafe for Random
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