pub enum IsNormalized {
Yes,
No,
Maybe,
}Expand description
Answer of a quick check.
Maybe means the quick check cannot decide from per-character properties
alone. The is_nfc, is_nfd, is_nfkc and is_nfkd functions resolve it
by normalizing and comparing.
Variants§
Yes
The text is in the normalization form.
No
The text is not in the normalization form.
Maybe
Undecidable without normalizing.
Trait Implementations§
Source§impl Clone for IsNormalized
impl Clone for IsNormalized
impl Copy for IsNormalized
Source§impl Debug for IsNormalized
impl Debug for IsNormalized
impl Eq for IsNormalized
Source§impl PartialEq for IsNormalized
impl PartialEq for IsNormalized
impl StructuralPartialEq for IsNormalized
Auto Trait Implementations§
impl Freeze for IsNormalized
impl RefUnwindSafe for IsNormalized
impl Send for IsNormalized
impl Sync for IsNormalized
impl Unpin for IsNormalized
impl UnsafeUnpin for IsNormalized
impl UnwindSafe for IsNormalized
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