Trait MachineInteger
riscv_sandbox::types
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; fn bit_slice(&self, i: usize, j: usize) -> Self; fn all_set() -> Self; fn slice_mask(a: usize, b: usize) -> Self { ... } fn zero() -> Self { ... } }
const XLEN: u32
fn bit_slice(&self, i: usize, j: usize) -> Self
fn all_set() -> Self
fn slice_mask(a: usize, b: usize) -> Self
fn zero() -> Self
impl MachineInteger for i32
fn bit_slice(&self, i: usize, j: usize) -> i32
impl MachineInteger for i64
fn bit_slice(&self, i: usize, j: usize) -> i64
impl MachineInteger for i128
fn bit_slice(&self, i: usize, j: usize) -> i128