Struct icu_capi::collator::ffi::CollatorOptionsV1
source · #[repr(C)]pub struct CollatorOptionsV1 {
pub strength: DiplomatOption<CollatorStrength>,
pub alternate_handling: DiplomatOption<CollatorAlternateHandling>,
pub case_first: DiplomatOption<CollatorCaseFirst>,
pub max_variable: DiplomatOption<CollatorMaxVariable>,
pub case_level: DiplomatOption<CollatorCaseLevel>,
pub numeric: DiplomatOption<CollatorNumeric>,
pub backward_second_level: DiplomatOption<CollatorBackwardSecondLevel>,
}
Fields§
§strength: DiplomatOption<CollatorStrength>
§alternate_handling: DiplomatOption<CollatorAlternateHandling>
§case_first: DiplomatOption<CollatorCaseFirst>
§max_variable: DiplomatOption<CollatorMaxVariable>
§case_level: DiplomatOption<CollatorCaseLevel>
§numeric: DiplomatOption<CollatorNumeric>
§backward_second_level: DiplomatOption<CollatorBackwardSecondLevel>
Trait Implementations§
source§impl From<CollatorOptionsV1> for CollatorOptions
impl From<CollatorOptionsV1> for CollatorOptions
source§fn from(options: CollatorOptionsV1) -> CollatorOptions
fn from(options: CollatorOptionsV1) -> CollatorOptions
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollatorOptionsV1
impl RefUnwindSafe for CollatorOptionsV1
impl Send for CollatorOptionsV1
impl Sync for CollatorOptionsV1
impl Unpin for CollatorOptionsV1
impl UnwindSafe for CollatorOptionsV1
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> 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