Trait rust_bigint::traits::NumberTests[][src]

pub trait NumberTests {
    fn is_zero(_: &Self) -> bool;
fn is_even(_: &Self) -> bool;
fn is_negative(_: &Self) -> bool;
fn bits(_: &Self) -> usize; }
Expand description

Numerical tests for a BigInt

Required methods

Is a BigInt equal to zero

Is a BigInt even

Is a BitInt negative

How many bits in a BigInt

Implementations on Foreign Types

Implementors