Trait stable_mir::ty::IndexedVal
source · pub trait IndexedVal {
// Required methods
fn to_val(index: usize) -> Self;
fn to_index(&self) -> usize;
}
Required Methods§
Object Safety§
This trait is not object safe.
pub trait IndexedVal {
// Required methods
fn to_val(index: usize) -> Self;
fn to_index(&self) -> usize;
}