pub trait Erf: Sized {
type Output;
// Required methods
fn erf(self) -> Self::Output;
fn erfc(self) -> Self::Output;
}Expand description
The error function and its complement.
Implementations for f32/f64 require the libm cargo feature (std’s
erf is still unstable, so there is nothing to delegate to otherwise).
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".