pub trait Two<F> {
    // Required methods
    fn two() -> F;
    fn two_pow(pow: u64) -> F;
}
Expand description

Helper to obtain two

Required Methods§

source

fn two() -> F

Value two

source

fn two_pow(pow: u64) -> F

Power of two

Implementors§

source§

impl<F: Field> Two<F> for F