#[repr(transparent)]pub struct RoundingAlgorithm(pub i32);
Expand description
Required features: "Globalization_NumberFormatting"
Tuple Fields
0: i32
Implementations
impl RoundingAlgorithm
impl RoundingAlgorithm
pub const None: Self = Self(0i32)
pub const RoundDown: Self = Self(1i32)
pub const RoundUp: Self = Self(2i32)
pub const RoundTowardsZero: Self = Self(3i32)
pub const RoundAwayFromZero: Self = Self(4i32)
pub const RoundHalfDown: Self = Self(5i32)
pub const RoundHalfUp: Self = Self(6i32)
pub const RoundHalfTowardsZero: Self = Self(7i32)
pub const RoundHalfAwayFromZero: Self = Self(8i32)
pub const RoundHalfToEven: Self = Self(9i32)
pub const RoundHalfToOdd: Self = Self(10i32)
Trait Implementations
impl Clone for RoundingAlgorithm
impl Clone for RoundingAlgorithm
impl Copy for RoundingAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for RoundingAlgorithm
impl Send for RoundingAlgorithm
impl Sync for RoundingAlgorithm
impl Unpin for RoundingAlgorithm
impl UnwindSafe for RoundingAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more