pub trait CustomMoney: Sized + BaseMoney {
// Required methods
fn set_thousand_separator(&mut self, separator: &'static str);
fn set_decimal_separator(&mut self, separator: &'static str);
fn round_with(self, decimal_points: u32, strategy: RoundingStrategy) -> Self;
}Required Methods§
fn set_thousand_separator(&mut self, separator: &'static str)
fn set_decimal_separator(&mut self, separator: &'static str)
fn round_with(self, decimal_points: u32, strategy: RoundingStrategy) -> Self
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.