pub trait CsrStorage: Clone + Debug {
// Required methods
fn new() -> Self;
fn get(&self, index: usize) -> u32;
fn set(&mut self, index: usize, value: u32);
}Required Methods§
fn new() -> Self
fn get(&self, index: usize) -> u32
fn set(&mut self, index: usize, value: u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".