pub struct CountingRng(pub u64);
Tuple Fields§
§0: u64
Trait Implementations§
Source§impl RngCore for CountingRng
impl RngCore for CountingRng
Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest
with random data. Read moreAuto Trait Implementations§
impl Freeze for CountingRng
impl RefUnwindSafe for CountingRng
impl Send for CountingRng
impl Sync for CountingRng
impl Unpin for CountingRng
impl UnwindSafe for CountingRng
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