pub trait FloatApproximately<T>where
T: Float,{
// Required method
fn approximately(&self, other: &Self) -> bool;
}
Expand description
浮動小数点数の近似等価演算
Required Methods§
Sourcefn approximately(&self, other: &Self) -> bool
fn approximately(&self, other: &Self) -> bool
2つの浮動小数点数がおおよそ等しいかを返す。
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.