pub struct Random(/* private fields */);
Implementations§
Source§impl Random
impl Random
pub fn from_slice(bytes: &[u8]) -> Random
pub fn write_slice(&self, bytes: &mut [u8])
Trait Implementations§
Source§impl Codec for Random
impl Codec for Random
impl StructuralPartialEq for Random
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