pub trait MachineInteger:
Sized
+ Copy
+ Clone
+ PartialEq
+ Eq
+ Shr<u32, Output = Self>
+ Shl<u32, Output = Self>
+ BitAnd<Output = Self>
+ BitOr<Output = Self>
+ From<i32> {
const XLEN: u32;
// Required methods
fn bit_slice(&self, i: usize, j: usize) -> Self;
fn all_set() -> Self;
// Provided methods
fn slice_mask(a: usize, b: usize) -> Self { ... }
fn zero() -> Self { ... }
}Required Associated Constants§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".