Enum rust_icu_sys::UColAttributeValue
source · #[repr(i32)]pub enum UColAttributeValue {
Show 13 variants
UCOL_DEFAULT = -1,
UCOL_PRIMARY = 0,
UCOL_SECONDARY = 1,
UCOL_TERTIARY = 2,
UCOL_CE_STRENGTH_LIMIT = 3,
UCOL_IDENTICAL = 15,
UCOL_STRENGTH_LIMIT = 16,
UCOL_ON = 17,
UCOL_SHIFTED = 20,
UCOL_NON_IGNORABLE = 21,
UCOL_LOWER_FIRST = 24,
UCOL_UPPER_FIRST = 25,
UCOL_ATTRIBUTE_VALUE_COUNT = 26,
}
Variants§
UCOL_DEFAULT = -1
UCOL_PRIMARY = 0
UCOL_SECONDARY = 1
UCOL_TERTIARY = 2
UCOL_CE_STRENGTH_LIMIT = 3
UCOL_IDENTICAL = 15
UCOL_STRENGTH_LIMIT = 16
UCOL_ON = 17
UCOL_SHIFTED = 20
UCOL_NON_IGNORABLE = 21
UCOL_LOWER_FIRST = 24
UCOL_UPPER_FIRST = 25
UCOL_ATTRIBUTE_VALUE_COUNT = 26
Implementations§
source§impl UColAttributeValue
impl UColAttributeValue
pub const UCOL_DEFAULT_STRENGTH: UColAttributeValue = UColAttributeValue::UCOL_TERTIARY
source§impl UColAttributeValue
impl UColAttributeValue
pub const UCOL_QUATERNARY: UColAttributeValue = UColAttributeValue::UCOL_CE_STRENGTH_LIMIT
source§impl UColAttributeValue
impl UColAttributeValue
pub const UCOL_OFF: UColAttributeValue = UColAttributeValue::UCOL_STRENGTH_LIMIT
Trait Implementations§
source§impl Clone for UColAttributeValue
impl Clone for UColAttributeValue
source§fn clone(&self) -> UColAttributeValue
fn clone(&self) -> UColAttributeValue
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 UColAttributeValue
impl Debug for UColAttributeValue
source§impl Hash for UColAttributeValue
impl Hash for UColAttributeValue
source§impl PartialEq for UColAttributeValue
impl PartialEq for UColAttributeValue
source§fn eq(&self, other: &UColAttributeValue) -> bool
fn eq(&self, other: &UColAttributeValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UColAttributeValue
impl PartialOrd for UColAttributeValue
source§fn partial_cmp(&self, other: &UColAttributeValue) -> Option<Ordering>
fn partial_cmp(&self, other: &UColAttributeValue) -> 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 UColAttributeValue
impl Eq for UColAttributeValue
impl StructuralPartialEq for UColAttributeValue
Auto Trait Implementations§
impl Freeze for UColAttributeValue
impl RefUnwindSafe for UColAttributeValue
impl Send for UColAttributeValue
impl Sync for UColAttributeValue
impl Unpin for UColAttributeValue
impl UnwindSafe for UColAttributeValue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)