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

pub(crate) struct RegBankBuilder {
    pub name: &'static str,
    pub units: u8,
    pub names: Vec<&'static str>,
    pub prefix: &'static str,
    pub pressure_tracking: Option<bool>,
    pub pinned_reg: Option<u16>,
}

Fields

name: &'static strunits: u8names: Vec<&'static str>prefix: &'static strpressure_tracking: Option<bool>pinned_reg: Option<u16>

Methods

impl RegBankBuilder[src]

pub fn new(name: &'static str, prefix: &'static str) -> Self[src]

pub fn units(self, units: u8) -> Self[src]

pub fn names(self, names: Vec<&'static str>) -> Self[src]

pub fn track_pressure(self, track: bool) -> Self[src]

pub fn pinned_reg(self, unit: u16) -> Self[src]

Auto Trait Implementations

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.