Enum rust_icu_sys::UNumberSignDisplay
source · #[repr(u32)]pub enum UNumberSignDisplay {
UNUM_SIGN_AUTO = 0,
UNUM_SIGN_ALWAYS = 1,
UNUM_SIGN_NEVER = 2,
UNUM_SIGN_ACCOUNTING = 3,
UNUM_SIGN_ACCOUNTING_ALWAYS = 4,
UNUM_SIGN_EXCEPT_ZERO = 5,
UNUM_SIGN_ACCOUNTING_EXCEPT_ZERO = 6,
UNUM_SIGN_NEGATIVE = 7,
UNUM_SIGN_ACCOUNTING_NEGATIVE = 8,
UNUM_SIGN_COUNT = 9,
}
Variants§
UNUM_SIGN_AUTO = 0
UNUM_SIGN_ALWAYS = 1
UNUM_SIGN_NEVER = 2
UNUM_SIGN_ACCOUNTING = 3
UNUM_SIGN_ACCOUNTING_ALWAYS = 4
UNUM_SIGN_EXCEPT_ZERO = 5
UNUM_SIGN_ACCOUNTING_EXCEPT_ZERO = 6
UNUM_SIGN_NEGATIVE = 7
UNUM_SIGN_ACCOUNTING_NEGATIVE = 8
UNUM_SIGN_COUNT = 9
Trait Implementations§
source§impl Clone for UNumberSignDisplay
impl Clone for UNumberSignDisplay
source§fn clone(&self) -> UNumberSignDisplay
fn clone(&self) -> UNumberSignDisplay
Returns a copy 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 UNumberSignDisplay
impl Debug for UNumberSignDisplay
source§impl Hash for UNumberSignDisplay
impl Hash for UNumberSignDisplay
source§impl PartialEq for UNumberSignDisplay
impl PartialEq for UNumberSignDisplay
source§fn eq(&self, other: &UNumberSignDisplay) -> bool
fn eq(&self, other: &UNumberSignDisplay) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UNumberSignDisplay
impl PartialOrd for UNumberSignDisplay
source§fn partial_cmp(&self, other: &UNumberSignDisplay) -> Option<Ordering>
fn partial_cmp(&self, other: &UNumberSignDisplay) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UNumberSignDisplay
impl Eq for UNumberSignDisplay
impl StructuralPartialEq for UNumberSignDisplay
Auto Trait Implementations§
impl RefUnwindSafe for UNumberSignDisplay
impl Send for UNumberSignDisplay
impl Sync for UNumberSignDisplay
impl Unpin for UNumberSignDisplay
impl UnwindSafe for UNumberSignDisplay
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