pub trait SaveTb<S: Simulator, A: Analysis, T: FromSaved<S, A>>: ExportsNestedData {
    // Required method
    fn save_tb(
        ctx: &SimulationContext<S>,
        cell: &Cell<Self>,
        opts: &mut <S as Simulator>::Options
    ) -> <T as FromSaved<S, A>>::SavedKey;
}
Expand description

A testbench that can save data of type T.

Required Methods§

source

fn save_tb( ctx: &SimulationContext<S>, cell: &Cell<Self>, opts: &mut <S as Simulator>::Options ) -> <T as FromSaved<S, A>>::SavedKey

Saves data T from cell cell.

Object Safety§

This trait is not object safe.

Implementors§