pub trait Integer:
'static
+ AsRef<[Limb]>
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ BitXor<Output = Self>
+ for<'a> CheckedAdd<&'a Self, Output = Self>
+ for<'a> CheckedSub<&'a Self, Output = Self>
+ for<'a> CheckedMul<&'a Self, Output = Self>
+ Copy
+ ConditionallySelectable
+ ConstantTimeEq
+ ConstantTimeGreater
+ ConstantTimeLess
+ Debug
+ Default
+ Div<NonZero<Self>, Output = Self>
+ Eq
+ From<u64>
+ Not
+ Ord
+ Rem<NonZero<Self>, Output = Self>
+ Send
+ Sized
+ Shl<usize, Output = Self>
+ Shr<usize, Output = Self>
+ Sync
+ Zero {
const ONE: Self;
const MAX: Self;
const BITS: usize;
const BYTES: usize;
const LIMBS: usize;
// Required method
fn is_odd(&self) -> Choice;
// Provided method
fn is_even(&self) -> Choice { ... }
}
Expand description
Integer type.
Required Associated Constants§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.