pub trait TensorImagAPI {
type Output;
// Required method
fn imag_f(self) -> Result<Self::Output, Error>;
// Provided method
fn imag(self) -> Self::Output
where Self: Sized { ... }
}pub trait TensorImagAPI {
type Output;
// Required method
fn imag_f(self) -> Result<Self::Output, Error>;
// Provided method
fn imag(self) -> Self::Output
where Self: Sized { ... }
}