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