pub trait RowMajorMatrixArena<F>: Arena {
// Required methods
fn set_capacity(&mut self, trace_height: usize);
fn width(&self) -> usize;
fn trace_offset(&self) -> usize;
fn into_matrix(self) -> RowMajorMatrix<F>;
}
Expand description
Helper trait for arenas backed by row-major matrices.
Required Methods§
Sourcefn set_capacity(&mut self, trace_height: usize)
fn set_capacity(&mut self, trace_height: usize)
Set the arena’s capacity based on the projected trace height.
fn width(&self) -> usize
fn trace_offset(&self) -> usize
fn into_matrix(self) -> RowMajorMatrix<F>
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.