pub trait Integer<T>:
Copy
+ From<u8>
+ PartialEq
+ PartialOrd
+ Add<Output = T>
+ BitAnd<Output = T>
+ BitOr<Output = T>
+ BitXor<Output = T>
+ Div<Output = T>
+ Mul<Output = T>
+ Rem<Output = T>
+ Shl<Output = T>
+ Shr<Output = T>
+ Sub<Output = T> {
const ZERO: T;
const ONE: T;
const TEN: T;
// Required methods
fn ilog2(self) -> T;
fn trailing_zeros(self) -> T;
}
Required Associated Constants§
Required Methods§
fn ilog2(self) -> T
fn trailing_zeros(self) -> T
Object Safety§
This trait is not object safe.