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