pub enum RoundingMethod {
None,
Nearest,
Up,
Down,
}Expand description
Rounding method for times
Variants§
Trait Implementations§
Source§impl Clone for RoundingMethod
impl Clone for RoundingMethod
Source§fn clone(&self) -> RoundingMethod
fn clone(&self) -> RoundingMethod
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 RoundingMethod
impl Debug for RoundingMethod
Source§impl PartialEq for RoundingMethod
impl PartialEq for RoundingMethod
impl Copy for RoundingMethod
impl StructuralPartialEq for RoundingMethod
Auto Trait Implementations§
impl Freeze for RoundingMethod
impl RefUnwindSafe for RoundingMethod
impl Send for RoundingMethod
impl Sync for RoundingMethod
impl Unpin for RoundingMethod
impl UnwindSafe for RoundingMethod
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