pub trait Decimal:
FromStr
+ Default
+ Clone
+ Debug
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ Neg<Output = Self>
+ PartialEq
+ PartialOrd { }Expand description
Decimal type to which amount values and expressions will be parsed into.
§Notable implementations
f64Decimalof the crate rust_decimal
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.