HasInverse

Trait HasInverse 

Source
pub trait HasInverse<T: Copy + Debug + 'static> {
    // Required method
    fn inverse(&self) -> Self;
}
Expand description

Trait for types that can compute their inverse transformation

Required Methods§

Source

fn inverse(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§