binius_core::challenger

Trait CanSampleBits

pub trait CanSampleBits<T> {
    // Required method
    fn sample_bits(&mut self, bits: usize) -> T;
}

Required Methods§

fn sample_bits(&mut self, bits: usize) -> T

Implementations on Foreign Types§

§

impl<'a, C, T> CanSampleBits<T> for &'a mut C
where C: CanSampleBits<T>,

§

fn sample_bits(&mut self, bits: usize) -> T

Implementors§

source§

impl<Challenger_> CanSampleBits<usize> for TranscriptReader<Challenger_>
where Challenger_: Challenger,

source§

impl<Challenger_> CanSampleBits<usize> for TranscriptWriter<Challenger_>
where Challenger_: Challenger,

source§

impl<F1, Challenger, F2> CanSampleBits<usize> for IsomorphicChallenger<F1, Challenger, F2>
where F1: BinaryField, F2: BinaryField, Challenger: CanSampleBits<usize>,

source§

impl<F, Impl> CanSampleBits<usize> for FieldChallenger<F, Impl>

§

impl<F, Inner> CanSampleBits<usize> for SerializingChallenger32<F, Inner>
where F: PrimeField32, Inner: CanSample<u8>,

§

impl<F, Inner> CanSampleBits<usize> for SerializingChallenger64<F, Inner>
where F: PrimeField64, Inner: CanSample<u8>,

§

impl<F, P, const WIDTH: usize, const RATE: usize> CanSampleBits<usize> for DuplexChallenger<F, P, WIDTH, RATE>
where F: PrimeField64, P: CryptographicPermutation<[F; WIDTH]>,

§

impl<F, PF, P, const WIDTH: usize, const RATE: usize> CanSampleBits<usize> for MultiField32Challenger<F, PF, P, WIDTH, RATE>
where F: PrimeField32, PF: PrimeField, P: CryptographicPermutation<[PF; WIDTH]>,