Enum rust_icu_sys::UNumberUnitWidth
source · #[repr(u32)]pub enum UNumberUnitWidth {
UNUM_UNIT_WIDTH_NARROW = 0,
UNUM_UNIT_WIDTH_SHORT = 1,
UNUM_UNIT_WIDTH_FULL_NAME = 2,
UNUM_UNIT_WIDTH_ISO_CODE = 3,
UNUM_UNIT_WIDTH_FORMAL = 4,
UNUM_UNIT_WIDTH_VARIANT = 5,
UNUM_UNIT_WIDTH_HIDDEN = 6,
UNUM_UNIT_WIDTH_COUNT = 7,
}
Variants§
UNUM_UNIT_WIDTH_NARROW = 0
UNUM_UNIT_WIDTH_SHORT = 1
UNUM_UNIT_WIDTH_FULL_NAME = 2
UNUM_UNIT_WIDTH_ISO_CODE = 3
UNUM_UNIT_WIDTH_FORMAL = 4
UNUM_UNIT_WIDTH_VARIANT = 5
UNUM_UNIT_WIDTH_HIDDEN = 6
UNUM_UNIT_WIDTH_COUNT = 7
Trait Implementations§
source§impl Clone for UNumberUnitWidth
impl Clone for UNumberUnitWidth
source§fn clone(&self) -> UNumberUnitWidth
fn clone(&self) -> UNumberUnitWidth
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 UNumberUnitWidth
impl Debug for UNumberUnitWidth
source§impl Hash for UNumberUnitWidth
impl Hash for UNumberUnitWidth
source§impl PartialEq for UNumberUnitWidth
impl PartialEq for UNumberUnitWidth
source§fn eq(&self, other: &UNumberUnitWidth) -> bool
fn eq(&self, other: &UNumberUnitWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UNumberUnitWidth
impl PartialOrd for UNumberUnitWidth
source§fn partial_cmp(&self, other: &UNumberUnitWidth) -> Option<Ordering>
fn partial_cmp(&self, other: &UNumberUnitWidth) -> 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 UNumberUnitWidth
impl Eq for UNumberUnitWidth
impl StructuralPartialEq for UNumberUnitWidth
Auto Trait Implementations§
impl RefUnwindSafe for UNumberUnitWidth
impl Send for UNumberUnitWidth
impl Sync for UNumberUnitWidth
impl Unpin for UNumberUnitWidth
impl UnwindSafe for UNumberUnitWidth
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