Trait Invertible

Source
pub trait Invertible
where Self: Sized,
{ // Required method fn invert(x: &Self) -> CtOption<Self>; }
Expand description

Type for which invert function is defined

Required Methods§

Source

fn invert(x: &Self) -> CtOption<Self>

Inverts $x$, returns $x^{-1}$ such that $x \cdot x^{-1} = 1$

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§