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