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

Object Safety§

This trait is not object safe.

Implementors§

source§

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