#[repr(u32)]pub enum UNumberFormatRoundingMode {
UNUM_ROUND_CEILING = 0,
UNUM_ROUND_FLOOR = 1,
UNUM_ROUND_DOWN = 2,
UNUM_ROUND_UP = 3,
UNUM_ROUND_HALFEVEN = 4,
UNUM_ROUND_HALFDOWN = 5,
UNUM_ROUND_HALFUP = 6,
UNUM_ROUND_UNNECESSARY = 7,
UNUM_ROUND_HALF_ODD = 8,
UNUM_ROUND_HALF_CEILING = 9,
UNUM_ROUND_HALF_FLOOR = 10,
}Variants§
UNUM_ROUND_CEILING = 0
UNUM_ROUND_FLOOR = 1
UNUM_ROUND_DOWN = 2
UNUM_ROUND_UP = 3
UNUM_ROUND_HALFEVEN = 4
UNUM_ROUND_HALFDOWN = 5
UNUM_ROUND_HALFUP = 6
UNUM_ROUND_UNNECESSARY = 7
UNUM_ROUND_HALF_ODD = 8
UNUM_ROUND_HALF_CEILING = 9
UNUM_ROUND_HALF_FLOOR = 10
Implementations§
Source§impl UNumberFormatRoundingMode
impl UNumberFormatRoundingMode
pub const UNUM_FOUND_HALFEVEN: UNumberFormatRoundingMode = UNumberFormatRoundingMode::UNUM_ROUND_HALFEVEN
Trait Implementations§
Source§impl Clone for UNumberFormatRoundingMode
impl Clone for UNumberFormatRoundingMode
Source§fn clone(&self) -> UNumberFormatRoundingMode
fn clone(&self) -> UNumberFormatRoundingMode
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 UNumberFormatRoundingMode
impl Debug for UNumberFormatRoundingMode
Source§impl Hash for UNumberFormatRoundingMode
impl Hash for UNumberFormatRoundingMode
Source§impl PartialOrd for UNumberFormatRoundingMode
impl PartialOrd for UNumberFormatRoundingMode
impl Copy for UNumberFormatRoundingMode
impl Eq for UNumberFormatRoundingMode
impl StructuralPartialEq for UNumberFormatRoundingMode
Auto Trait Implementations§
impl Freeze for UNumberFormatRoundingMode
impl RefUnwindSafe for UNumberFormatRoundingMode
impl Send for UNumberFormatRoundingMode
impl Sync for UNumberFormatRoundingMode
impl Unpin for UNumberFormatRoundingMode
impl UnwindSafe for UNumberFormatRoundingMode
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