pub trait TensorNotAPI {
type Output;
// Required method
fn not_f(self) -> Result<Self::Output, Error>;
// Provided method
fn not(self) -> Self::Output
where Self: Sized { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".