twenty_first::math::traits

Trait Inverse

Source
pub trait Inverse
where Self: Sized + Zero,
{ // Required method fn inverse(&self) -> Self; // Provided method fn inverse_or_zero(&self) -> Self { ... } }

Required Methods§

Source

fn inverse(&self) -> Self

Provided Methods§

Source

fn inverse_or_zero(&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§