pub trait Invert: Sized {
type Output;
// Required methods
fn invert(&self) -> Self::Output;
fn invert_vartime(&self) -> Self::Output;
}
Expand description
Constant-time inversion.
Required Associated Types§
Required Methods§
Sourcefn invert_vartime(&self) -> Self::Output
fn invert_vartime(&self) -> Self::Output
Computes the inverse in variable-time.
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.