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

Implementors§

source§

impl<D> Decimal for Dwhere D: FromStr + Default + Clone + Debug + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + Neg<Output = Self> + PartialEq + PartialOrd,