Enum icu_capi::collator::ffi::ICU4XCollatorStrength
source · #[repr(C)]pub enum ICU4XCollatorStrength {
Auto = 0,
Primary = 1,
Secondary = 2,
Tertiary = 3,
Quaternary = 4,
Identical = 5,
}
Variants§
Trait Implementations§
source§impl Clone for ICU4XCollatorStrength
impl Clone for ICU4XCollatorStrength
source§fn clone(&self) -> ICU4XCollatorStrength
fn clone(&self) -> ICU4XCollatorStrength
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 ICU4XCollatorStrength
impl Debug for ICU4XCollatorStrength
source§impl From<Strength> for ICU4XCollatorStrength
impl From<Strength> for ICU4XCollatorStrength
source§fn from(strength: Strength) -> ICU4XCollatorStrength
fn from(strength: Strength) -> ICU4XCollatorStrength
Converts to this type from the input type.
source§impl Ord for ICU4XCollatorStrength
impl Ord for ICU4XCollatorStrength
source§fn cmp(&self, other: &ICU4XCollatorStrength) -> Ordering
fn cmp(&self, other: &ICU4XCollatorStrength) -> 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 ICU4XCollatorStrength
impl PartialEq for ICU4XCollatorStrength
source§impl PartialOrd for ICU4XCollatorStrength
impl PartialOrd for ICU4XCollatorStrength
impl Copy for ICU4XCollatorStrength
impl Eq for ICU4XCollatorStrength
impl StructuralPartialEq for ICU4XCollatorStrength
Auto Trait Implementations§
impl Freeze for ICU4XCollatorStrength
impl RefUnwindSafe for ICU4XCollatorStrength
impl Send for ICU4XCollatorStrength
impl Sync for ICU4XCollatorStrength
impl Unpin for ICU4XCollatorStrength
impl UnwindSafe for ICU4XCollatorStrength
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§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
)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