pub trait Buffer: Sized {
type Elem: Debug;
type Reg: From<usize>;
// Required methods
fn tree<'a, C: Component>(&'a self, component: &'a C) -> Tree<'a, Self, C>;
fn name(&self) -> &'static str;
fn get(&self, reg: &Self::Reg) -> Option<&Self::Elem>;
fn get_u64(&self, reg: &Self::Reg) -> u64;
// Provided method
fn get_u32(&self, reg: &Self::Reg) -> u32 { ... }
}
Expand description
A circuit execution trace buffer, which we can read laid out components from.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.