pub trait EighWorkImpl: Sized {
type Elem: Scalar;
// Required methods
fn new(calc_eigenvectors: bool, layout: MatrixLayout) -> Result<Self>;
fn calc(
&mut self,
uplo: UPLO,
a: &mut [Self::Elem],
) -> Result<&[<Self::Elem as Scalar>::Real]>;
fn eval(
self,
uplo: UPLO,
a: &mut [Self::Elem],
) -> Result<Vec<<Self::Elem as Scalar>::Real>>;
}
Required Associated Types§
Required Methods§
fn new(calc_eigenvectors: bool, layout: MatrixLayout) -> Result<Self>
fn calc( &mut self, uplo: UPLO, a: &mut [Self::Elem], ) -> Result<&[<Self::Elem as Scalar>::Real]>
fn eval( self, uplo: UPLO, a: &mut [Self::Elem], ) -> Result<Vec<<Self::Elem as Scalar>::Real>>
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.