pub struct ComposingNormalizer { /* private fields */ }Expand description
A normalizer for performing composing normalization.
Implementations§
Source§impl ComposingNormalizer
impl ComposingNormalizer
Sourcepub fn as_borrowed(&self) -> ComposingNormalizerBorrowed<'_>
pub fn as_borrowed(&self) -> ComposingNormalizerBorrowed<'_>
Constructs a borrowed version of this type for more efficient querying.
Sourcepub const fn new_nfc() -> ComposingNormalizerBorrowed<'static>
pub const fn new_nfc() -> ComposingNormalizerBorrowed<'static>
NFC constructor using compiled data.
✨ Enabled with the compiled_data Cargo feature.
Sourcepub fn try_new_nfc_unstable<D>(provider: &D) -> Result<Self, DataError>where
D: DataProvider<NormalizerNfdDataV1> + DataProvider<NormalizerNfdTablesV1> + DataProvider<NormalizerNfcV1> + ?Sized,
pub fn try_new_nfc_unstable<D>(provider: &D) -> Result<Self, DataError>where
D: DataProvider<NormalizerNfdDataV1> + DataProvider<NormalizerNfdTablesV1> + DataProvider<NormalizerNfcV1> + ?Sized,
A version of Self::new_nfc 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_nfkc() -> ComposingNormalizerBorrowed<'static>
pub const fn new_nfkc() -> ComposingNormalizerBorrowed<'static>
NFKC constructor using compiled data.
✨ Enabled with the compiled_data Cargo feature.
Sourcepub fn try_new_nfkc_unstable<D>(provider: &D) -> Result<Self, DataError>
pub fn try_new_nfkc_unstable<D>(provider: &D) -> Result<Self, DataError>
A version of Self::new_nfkc that uses custom data provided by a DataProvider.
⚠️ The bounds on provider may change over time, including in SemVer minor releases.