pub trait Word:
PartialEq
+ Debug
+ Copy
+ WrappingAdd
+ WrappingSub
+ WrappingShl
+ WrappingShr
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ BitXor<Output = Self>
+ Shl<Output = Self>
+ Shr<Output = Self> {
const ZERO: Self;
const BYTES: usize;
const P: Self;
const Q: Self;
// Required methods
fn from_usize(val: usize) -> Self;
fn from_u8(val: u8) -> Self;
}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.