pub trait UnsignedBase:
From<u8>
+ Copy
+ TryInto<usize>
+ BitOrAssign
+ BitOr<Output = Self>
+ BitAnd<Output = Self>
+ Shl<i8, Output = Self>
+ Shr<i8, Output = Self>
+ Shl<usize, Output = Self>
+ Shr<usize, Output = Self>
+ ShrAssign
+ ShlAssign
+ BitOrAssign {
const ZERO: Self;
// Required methods
fn leading_zeros(self) -> u32;
fn as_usize(self) -> usize;
fn as_u8(self) -> u8;
}
Required Associated Constants§
Required Methods§
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.