[][src]Enum unicode_normalization::IsNormalized

pub enum IsNormalized {
    Yes,
    No,
    Maybe,
}

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

impl Debug for IsNormalized[src]

impl Eq for IsNormalized[src]

impl PartialEq<IsNormalized> for IsNormalized[src]

impl StructuralEq for IsNormalized[src]

impl StructuralPartialEq for IsNormalized[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.