Struct secp256k1_zkp::rand::ChaChaRng[][src]

pub struct ChaChaRng(_);
👎 Deprecated since 0.6.0:

import from rand_chacha crate instead

Implementations

impl ChaChaRng[src]

pub fn get_word_pos(&self) -> u128[src]

pub fn set_word_pos(&mut self, word_offset: u128)[src]

pub fn set_stream(&mut self, stream: u64)[src]

Trait Implementations

impl Clone for ChaChaRng[src]

impl CryptoRng for ChaChaRng[src]

impl Debug for ChaChaRng[src]

impl RngCore for ChaChaRng[src]

impl SeedableRng for ChaChaRng[src]

type Seed = <ChaChaRng as SeedableRng>::Seed

Seed type, which is restricted to types mutably-dereferencable as u8 arrays (we recommend [u8; N] for some N). Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<R> FromEntropy for R where
    R: SeedableRng
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<R> Rng for R where
    R: RngCore + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.