Struct rand_chacha::chacha::abstract20::ChaCha20Rng
source · pub(crate) struct ChaCha20Rng {
seed: [u8; 32],
stream: u64,
word_pos: u128,
}
Fields§
§seed: [u8; 32]
§stream: u64
§word_pos: u128
Trait Implementations§
source§impl Debug for ChaCha20Rng
impl Debug for ChaCha20Rng
source§impl From<&ChaCha20Rng> for ChaCha20Rng
impl From<&ChaCha20Rng> for ChaCha20Rng
source§fn from(a: &ChaCha20Rng) -> Self
fn from(a: &ChaCha20Rng) -> Self
Converts to this type from the input type.
source§impl From<&ChaCha20Rng> for ChaCha20Rng
impl From<&ChaCha20Rng> for ChaCha20Rng
source§fn from(r: &ChaCha20Rng) -> Self
fn from(r: &ChaCha20Rng) -> Self
Converts to this type from the input type.
source§impl PartialEq for ChaCha20Rng
impl PartialEq for ChaCha20Rng
source§fn eq(&self, other: &ChaCha20Rng) -> bool
fn eq(&self, other: &ChaCha20Rng) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChaCha20Rng
impl StructuralPartialEq for ChaCha20Rng
Auto Trait Implementations§
impl Freeze for ChaCha20Rng
impl RefUnwindSafe for ChaCha20Rng
impl Send for ChaCha20Rng
impl Sync for ChaCha20Rng
impl Unpin for ChaCha20Rng
impl UnwindSafe for ChaCha20Rng
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