Enum rust_icu_sys::UDisplayContext
source · #[repr(u32)]pub enum UDisplayContext {
UDISPCTX_STANDARD_NAMES = 0,
UDISPCTX_DIALECT_NAMES = 1,
UDISPCTX_CAPITALIZATION_NONE = 256,
UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE = 257,
UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE = 258,
UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU = 259,
UDISPCTX_CAPITALIZATION_FOR_STANDALONE = 260,
UDISPCTX_LENGTH_FULL = 512,
UDISPCTX_LENGTH_SHORT = 513,
UDISPCTX_SUBSTITUTE = 768,
UDISPCTX_NO_SUBSTITUTE = 769,
}
Variants§
UDISPCTX_STANDARD_NAMES = 0
UDISPCTX_DIALECT_NAMES = 1
UDISPCTX_CAPITALIZATION_NONE = 256
UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE = 257
UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE = 258
UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU = 259
UDISPCTX_CAPITALIZATION_FOR_STANDALONE = 260
UDISPCTX_LENGTH_FULL = 512
UDISPCTX_LENGTH_SHORT = 513
UDISPCTX_SUBSTITUTE = 768
UDISPCTX_NO_SUBSTITUTE = 769
Trait Implementations§
source§impl Clone for UDisplayContext
impl Clone for UDisplayContext
source§fn clone(&self) -> UDisplayContext
fn clone(&self) -> UDisplayContext
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 UDisplayContext
impl Debug for UDisplayContext
source§impl Hash for UDisplayContext
impl Hash for UDisplayContext
source§impl PartialEq for UDisplayContext
impl PartialEq for UDisplayContext
source§fn eq(&self, other: &UDisplayContext) -> bool
fn eq(&self, other: &UDisplayContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UDisplayContext
impl PartialOrd for UDisplayContext
source§fn partial_cmp(&self, other: &UDisplayContext) -> Option<Ordering>
fn partial_cmp(&self, other: &UDisplayContext) -> 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 UDisplayContext
impl Eq for UDisplayContext
impl StructuralPartialEq for UDisplayContext
Auto Trait Implementations§
impl RefUnwindSafe for UDisplayContext
impl Send for UDisplayContext
impl Sync for UDisplayContext
impl Unpin for UDisplayContext
impl UnwindSafe for UDisplayContext
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