pub enum IsNormalized {
Yes,
No,
Maybe,
}
Expand description
The QuickCheck algorithm can quickly determine if a text is or isn’t
normalized without any allocations in many cases, but it has to be able to
return Maybe
when a full decomposition and recomposition is necessary.
Variants§
Yes
The text is definitely normalized.
No
The text is definitely not normalized.
Maybe
The text may be normalized.
Trait Implementations§
source§impl Debug for IsNormalized
impl Debug for IsNormalized
source§impl PartialEq<IsNormalized> for IsNormalized
impl PartialEq<IsNormalized> for IsNormalized
source§fn eq(&self, other: &IsNormalized) -> bool
fn eq(&self, other: &IsNormalized) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IsNormalized
impl StructuralEq for IsNormalized
impl StructuralPartialEq for IsNormalized
Auto Trait Implementations§
impl RefUnwindSafe for IsNormalized
impl Send for IsNormalized
impl Sync for IsNormalized
impl Unpin 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