stable_mir::ty

Trait IndexedVal

source
pub trait IndexedVal {
    // Required methods
    fn to_val(index: usize) -> Self;
    fn to_index(&self) -> usize;
}

Required Methods§

source

fn to_val(index: usize) -> Self

source

fn to_index(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§