Struct rand_chacha::chacha::abstract8::ChaCha8Rng
source · pub(crate) struct ChaCha8Rng {
seed: [u8; 32],
stream: u64,
word_pos: u128,
}
Fields§
§seed: [u8; 32]
§stream: u64
§word_pos: u128
Trait Implementations§
source§impl Debug for ChaCha8Rng
impl Debug for ChaCha8Rng
source§impl From<&ChaCha8Rng> for ChaCha8Rng
impl From<&ChaCha8Rng> for ChaCha8Rng
source§fn from(r: &ChaCha8Rng) -> Self
fn from(r: &ChaCha8Rng) -> Self
Converts to this type from the input type.
source§impl From<&ChaCha8Rng> for ChaCha8Rng
impl From<&ChaCha8Rng> for ChaCha8Rng
source§fn from(a: &ChaCha8Rng) -> Self
fn from(a: &ChaCha8Rng) -> Self
Converts to this type from the input type.
source§impl PartialEq for ChaCha8Rng
impl PartialEq for ChaCha8Rng
impl Eq for ChaCha8Rng
impl StructuralPartialEq for ChaCha8Rng
Auto Trait Implementations§
impl Freeze for ChaCha8Rng
impl RefUnwindSafe for ChaCha8Rng
impl Send for ChaCha8Rng
impl Sync for ChaCha8Rng
impl Unpin for ChaCha8Rng
impl UnwindSafe for ChaCha8Rng
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