pub struct UNormalizer { /* private fields */ }
Implementations§
Source§impl UNormalizer
impl UNormalizer
Sourcepub fn new_nfkc_casefold() -> Result<Self, Error>
pub fn new_nfkc_casefold() -> Result<Self, Error>
Implements unorm2_getNFKCCasefoldInstance
.
Sourcepub fn normalize_ustring(&self, norm: &UChar) -> Result<UChar, Error>
pub fn normalize_ustring(&self, norm: &UChar) -> Result<UChar, Error>
Implements unorm2_normalize
.
Sourcepub fn compose_pair(&self, point1: UChar32, point2: UChar32) -> UChar32
pub fn compose_pair(&self, point1: UChar32, point2: UChar32) -> UChar32
Implements unorm2_composePair
.
Trait Implementations§
Source§impl Debug for UNormalizer
impl Debug for UNormalizer
Auto Trait Implementations§
impl Freeze for UNormalizer
impl RefUnwindSafe for UNormalizer
impl !Send for UNormalizer
impl !Sync for UNormalizer
impl Unpin for UNormalizer
impl UnwindSafe for UNormalizer
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