pub struct ICU4XGeneralCategoryNameToMaskMapper(/* private fields */);Expand description
A type capable of looking up General Category mask values from a string name.
Implementations§
Source§impl ICU4XGeneralCategoryNameToMaskMapper
impl ICU4XGeneralCategoryNameToMaskMapper
Sourcepub fn get_strict(&self, name: &DiplomatStr) -> u32
pub fn get_strict(&self, name: &DiplomatStr) -> u32
Get the mask value matching the given name, using strict matching
Returns 0 if the name is unknown for this property
Sourcepub fn get_loose(&self, name: &DiplomatStr) -> u32
pub fn get_loose(&self, name: &DiplomatStr) -> u32
Get the mask value matching the given name, using loose matching
Returns 0 if the name is unknown for this property
pub fn load( provider: &ICU4XDataProvider, ) -> Result<Box<ICU4XGeneralCategoryNameToMaskMapper>, ICU4XError>
Auto Trait Implementations§
impl Freeze for ICU4XGeneralCategoryNameToMaskMapper
impl RefUnwindSafe for ICU4XGeneralCategoryNameToMaskMapper
impl !Send for ICU4XGeneralCategoryNameToMaskMapper
impl !Sync for ICU4XGeneralCategoryNameToMaskMapper
impl Unpin for ICU4XGeneralCategoryNameToMaskMapper
impl UnwindSafe for ICU4XGeneralCategoryNameToMaskMapper
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
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes