pub trait Space<T> {
type Output: AsMut<[T]>;
// Required methods
fn len(&self) -> usize;
fn workspace(&self) -> Self::Output;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
Trait for constant or dynamic workspace handling.
The method workspace() is called every time a curve needs space to do calculations on.