Skip to main content

TensorNotAPI

Trait TensorNotAPI 

Source
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§

Source

fn not_f(self) -> Result<Self::Output, Error>

Provided Methods§

Source

fn not(self) -> Self::Output
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§