Trait ethers::core::k256::elliptic_curve::bigint::Integer[][src]

pub trait Integer: 'static + AsRef<[Limb]> + Copy + ConditionallySelectable + ConstantTimeEq + ConstantTimeGreater + ConstantTimeLess + Debug + Default + Div<NonZero<Self>, Output = Self> + Encoding + Eq + From<u64> + Ord + Rem<NonZero<Self>, Output = Self> + Send + Sync {
    const ZERO: Self;
    const ONE: Self;
    const MAX: Self;

    fn is_odd(&self) -> Choice;

    fn is_zero(&self) -> Choice { ... }
fn is_even(&self) -> Choice { ... } }
Expand description

Integer type.

Associated Constants

The value 0.

The value 1.

Maximum value this integer can express.

Required methods

Is this integer value an odd number?

Provided methods

Is this integer value equal to zero?

Is this integer value an even number?

Implementors