[][src]Struct cranelift_codegen_meta::gen_encodings::Level1Table

struct Level1Table<'cpu_mode> {
    cpu_mode: &'cpu_mode CpuMode,
    legalize_code: TransformGroupIndex,
    table_map: HashMap<Option<ValueType>, usize>,
    table_vec: Vec<Level2Table>,
}

Level 1 table mapping types to Level2 objects.

Fields

cpu_mode: &'cpu_mode CpuModelegalize_code: TransformGroupIndextable_map: HashMap<Option<ValueType>, usize>table_vec: Vec<Level2Table>

Methods

impl<'cpu_mode> Level1Table<'cpu_mode>[src]

fn new(cpu_mode: &'cpu_mode CpuMode) -> Self[src]

fn l2table_for(&mut self, typ: Option<ValueType>) -> &mut Level2Table[src]

Returns the level2 table for the given type; None means monomorphic, in this context.

fn l2tables(&mut self) -> Vec<&mut Level2Table>[src]

Auto Trait Implementations

impl<'cpu_mode> !RefUnwindSafe for Level1Table<'cpu_mode>

impl<'cpu_mode> !Send for Level1Table<'cpu_mode>

impl<'cpu_mode> !Sync for Level1Table<'cpu_mode>

impl<'cpu_mode> Unpin for Level1Table<'cpu_mode>

impl<'cpu_mode> !UnwindSafe for Level1Table<'cpu_mode>

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.