pub trait NumberTests {
// Required methods
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§
Sourcefn is_negative(_: &Self) -> bool
fn is_negative(_: &Self) -> bool
Is a BitInt negative
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.