[][src]Trait riscv_sandbox::types::MachineInteger

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 { ... } }

Associated Constants

const XLEN: u32

Loading content...

Required methods

fn bit_slice(&self, i: usize, j: usize) -> Self

fn all_set() -> Self

Loading content...

Provided methods

fn slice_mask(a: usize, b: usize) -> Self

fn zero() -> Self

Loading content...

Implementations on Foreign Types

impl MachineInteger for i32[src]

impl MachineInteger for i64[src]

impl MachineInteger for i128[src]

Loading content...

Implementors

Loading content...