pub trait Error {
// Required methods
fn error(self) -> Self;
fn compl_error(self) -> Self;
fn inv_error(self) -> Self;
}Expand description
Error functions.
Required Methods§
Sourcefn compl_error(self) -> Self
fn compl_error(self) -> Self
Compute the complementary error function.
Sourcefn inv_error(self) -> Self
fn inv_error(self) -> Self
Compute the inverse of the error function.
The implementation is based on a C implementation by Alijah Ahmed.
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.