pub enum RoundingStrategy {
BankersRounding,
HalfUp,
HalfDown,
Ceil,
Floor,
}Variants§
Trait Implementations§
Source§impl Clone for RoundingStrategy
impl Clone for RoundingStrategy
Source§fn clone(&self) -> RoundingStrategy
fn clone(&self) -> RoundingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoundingStrategy
impl Debug for RoundingStrategy
Source§impl Default for RoundingStrategy
impl Default for RoundingStrategy
Source§fn default() -> RoundingStrategy
fn default() -> RoundingStrategy
Returns the “default value” for a type. Read more
Source§impl From<RoundingStrategy> for RoundingStrategy
impl From<RoundingStrategy> for RoundingStrategy
Source§fn from(value: RoundingStrategy) -> Self
fn from(value: RoundingStrategy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RoundingStrategy
impl PartialEq for RoundingStrategy
impl Copy for RoundingStrategy
impl Eq for RoundingStrategy
impl StructuralPartialEq for RoundingStrategy
Auto Trait Implementations§
impl Freeze for RoundingStrategy
impl RefUnwindSafe for RoundingStrategy
impl Send for RoundingStrategy
impl Sync for RoundingStrategy
impl Unpin for RoundingStrategy
impl UnwindSafe for RoundingStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more