[][src]Struct cranelift_codegen_meta::cdsl::regs::IsaRegs

pub(crate) struct IsaRegs {
    pub banks: PrimaryMap<RegBankIndex, RegBank>,
    pub classes: PrimaryMap<RegClassIndex, RegClass>,
}

Fields

banks: PrimaryMap<RegBankIndex, RegBank>classes: PrimaryMap<RegClassIndex, RegClass>

Methods

impl IsaRegs[src]

fn new(
    banks: PrimaryMap<RegBankIndex, RegBank>,
    classes: PrimaryMap<RegClassIndex, RegClass>
) -> Self
[src]

pub fn class_by_name(&self, name: &str) -> RegClassIndex[src]

pub fn regunit_by_name(
    &self,
    class_index: RegClassIndex,
    name: &'static str
) -> u8
[src]

Auto Trait Implementations

impl RefUnwindSafe for IsaRegs

impl Send for IsaRegs

impl Sync for IsaRegs

impl Unpin for IsaRegs

impl UnwindSafe for IsaRegs

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.