pub struct DecomposingNormalizer { /* private fields */ }
Expand description
A normalizer for performing decomposing normalization.
Implementations§
Source§impl DecomposingNormalizer
impl DecomposingNormalizer
Sourcepub fn as_borrowed(&self) -> DecomposingNormalizerBorrowed<'_>
pub fn as_borrowed(&self) -> DecomposingNormalizerBorrowed<'_>
Constructs a borrowed version of this type for more efficient querying.
Sourcepub const fn new_nfd() -> DecomposingNormalizerBorrowed<'static>
pub const fn new_nfd() -> DecomposingNormalizerBorrowed<'static>
NFD constructor using compiled data.
✨ Enabled with the compiled_data
Cargo feature.
Sourcepub fn try_new_nfd_unstable<D>(provider: &D) -> Result<Self, DataError>
pub fn try_new_nfd_unstable<D>(provider: &D) -> Result<Self, DataError>
A version of Self::new_nfd
that uses custom data provided by a DataProvider
.
⚠️ The bounds on provider may change over time, including in SemVer minor releases.
Sourcepub const fn new_nfkd() -> DecomposingNormalizerBorrowed<'static>
pub const fn new_nfkd() -> DecomposingNormalizerBorrowed<'static>
NFKD constructor using compiled data.
✨ Enabled with the compiled_data
Cargo feature.
Sourcepub fn try_new_nfkd_unstable<D>(provider: &D) -> Result<Self, DataError>where
D: DataProvider<NormalizerNfkdDataV1> + DataProvider<NormalizerNfdTablesV1> + DataProvider<NormalizerNfkdTablesV1> + ?Sized,
pub fn try_new_nfkd_unstable<D>(provider: &D) -> Result<Self, DataError>where
D: DataProvider<NormalizerNfkdDataV1> + DataProvider<NormalizerNfdTablesV1> + DataProvider<NormalizerNfkdTablesV1> + ?Sized,
A version of Self::new_nfkd
that uses custom data provided by a DataProvider
.
⚠️ The bounds on provider may change over time, including in SemVer minor releases.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecomposingNormalizer
impl RefUnwindSafe for DecomposingNormalizer
impl Send for DecomposingNormalizer
impl Sync for DecomposingNormalizer
impl Unpin for DecomposingNormalizer
impl UnwindSafe for DecomposingNormalizer
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