Enum icu_capi::collator::ffi::ICU4XCollatorCaseLevel
source · #[repr(C)]pub enum ICU4XCollatorCaseLevel {
Auto = 0,
Off = 1,
On = 2,
}
Variants§
Trait Implementations§
source§impl Clone for ICU4XCollatorCaseLevel
impl Clone for ICU4XCollatorCaseLevel
source§fn clone(&self) -> ICU4XCollatorCaseLevel
fn clone(&self) -> ICU4XCollatorCaseLevel
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 ICU4XCollatorCaseLevel
impl Debug for ICU4XCollatorCaseLevel
source§impl From<CaseLevel> for ICU4XCollatorCaseLevel
impl From<CaseLevel> for ICU4XCollatorCaseLevel
source§fn from(case_level: CaseLevel) -> ICU4XCollatorCaseLevel
fn from(case_level: CaseLevel) -> ICU4XCollatorCaseLevel
Converts to this type from the input type.
source§impl Ord for ICU4XCollatorCaseLevel
impl Ord for ICU4XCollatorCaseLevel
source§fn cmp(&self, other: &ICU4XCollatorCaseLevel) -> Ordering
fn cmp(&self, other: &ICU4XCollatorCaseLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ICU4XCollatorCaseLevel
impl PartialEq for ICU4XCollatorCaseLevel
source§fn eq(&self, other: &ICU4XCollatorCaseLevel) -> bool
fn eq(&self, other: &ICU4XCollatorCaseLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ICU4XCollatorCaseLevel
impl PartialOrd for ICU4XCollatorCaseLevel
source§fn partial_cmp(&self, other: &ICU4XCollatorCaseLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &ICU4XCollatorCaseLevel) -> 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 ICU4XCollatorCaseLevel
impl Eq for ICU4XCollatorCaseLevel
impl StructuralPartialEq for ICU4XCollatorCaseLevel
Auto Trait Implementations§
impl Freeze for ICU4XCollatorCaseLevel
impl RefUnwindSafe for ICU4XCollatorCaseLevel
impl Send for ICU4XCollatorCaseLevel
impl Sync for ICU4XCollatorCaseLevel
impl Unpin for ICU4XCollatorCaseLevel
impl UnwindSafe for ICU4XCollatorCaseLevel
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> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more