pub trait Numeric:
Sized
+ Debug
+ Copy
+ PartialEq
+ Neg<Output = Self>
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<f64, Output = Self>
+ Div<f64, Output = Self> {
// Required methods
fn zero() -> Self;
fn is_finite(self) -> bool;
// Provided method
fn is_zero(self) -> bool { ... }
}
Expand description
A numeric type.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.