pub trait MemVariable<C: Config>: Variable<C> {
// Required methods
fn size_of() -> usize;
fn load(
&self,
ptr: Ptr<C::N>,
index: MemIndex<C::N>,
builder: &mut Builder<C>,
);
fn store(
&self,
ptr: Ptr<C::N>,
index: MemIndex<C::N>,
builder: &mut Builder<C>,
);
}
Required Methods§
fn size_of() -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.