struct LocaleSpecificDataHolder {
tailoring: Option<DataPayload<CollationTailoringV1>>,
diacritics: DataPayload<CollationDiacriticsV1>,
reordering: Option<DataPayload<CollationReorderingV1>>,
merged_options: CollatorOptionsBitField,
lithuanian_dot_above: bool,
}Expand description
Holder struct for payloads that are locale-dependent. (For code reuse between owned and borrowed cases.)
Fields§
§tailoring: Option<DataPayload<CollationTailoringV1>>§diacritics: DataPayload<CollationDiacriticsV1>§reordering: Option<DataPayload<CollationReorderingV1>>§merged_options: CollatorOptionsBitField§lithuanian_dot_above: boolImplementations§
Source§impl LocaleSpecificDataHolder
impl LocaleSpecificDataHolder
Sourcefn try_new_unstable_internal<D>(
provider: &D,
prefs: CollatorPreferences,
options: CollatorOptions,
) -> Result<Self, DataError>
fn try_new_unstable_internal<D>( provider: &D, prefs: CollatorPreferences, options: CollatorOptions, ) -> Result<Self, DataError>
The constructor code reused between owned and borrowed cases.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocaleSpecificDataHolder
impl RefUnwindSafe for LocaleSpecificDataHolder
impl !Send for LocaleSpecificDataHolder
impl !Sync for LocaleSpecificDataHolder
impl Unpin for LocaleSpecificDataHolder
impl UnsafeUnpin for LocaleSpecificDataHolder
impl UnwindSafe for LocaleSpecificDataHolder
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