[][src]Trait curv_kzen::arithmetic::traits::Samplable

pub trait Samplable {
    fn sample_below(upper: &Self) -> Self;
fn sample_range(lower: &Self, upper: &Self) -> Self;
fn strict_sample_range(lower: &Self, upper: &Self) -> Self;
fn sample(bitsize: usize) -> Self;
fn strict_sample(bit_size: usize) -> Self; }

Required methods

fn sample_below(upper: &Self) -> Self

fn sample_range(lower: &Self, upper: &Self) -> Self

fn strict_sample_range(lower: &Self, upper: &Self) -> Self

fn sample(bitsize: usize) -> Self

fn strict_sample(bit_size: usize) -> Self

Loading content...

Implementations on Foreign Types

impl Samplable for Mpz[src]

Loading content...

Implementors

Loading content...