pub struct DecomposingNormalizer { /* private fields */ }
Expand description

A normalizer for performing decomposing normalization.

Implementations

NFD constructor.

📚 Help choosing a constructor

⚠️ The bounds on this function may change over time, including in SemVer minor releases.

Creates a new instance using an AnyProvider.

For details on the behavior of this function, see: Self::try_new_nfd_unstable

📚 Help choosing a constructor

Enabled with the "serde" feature.

Creates a new instance using a BufferProvider.

For details on the behavior of this function, see: Self::try_new_nfd_unstable

📚 Help choosing a constructor

NFKD constructor.

📚 Help choosing a constructor

⚠️ The bounds on this function may change over time, including in SemVer minor releases.

Creates a new instance using an AnyProvider.

For details on the behavior of this function, see: Self::try_new_nfkd_unstable

📚 Help choosing a constructor

Enabled with the "serde" feature.

Creates a new instance using a BufferProvider.

For details on the behavior of this function, see: Self::try_new_nfkd_unstable

📚 Help choosing a constructor

Wraps a delegate iterator into a decomposing iterator adapter by using the data already held by this normalizer.

Normalize a string slice into a String.

Check whether a string slice is normalized.

Normalize a slice of potentially-invalid UTF-16 into a Vec.

Unpaired surrogates are mapped to the REPLACEMENT CHARACTER before normalizing.

Checks whether a slice of potentially-invalid UTF-16 is normalized.

Unpaired surrogates are treated as the REPLACEMENT CHARACTER.

Normalize a slice of potentially-invalid UTF-8 into a String.

Errors are mapped to the REPLACEMENT CHARACTER according to the WHATWG Encoding Standard.

Check if a slice of potentially-invalid UTF-8 is normalized.

Errors are mapped to the REPLACEMENT CHARACTER according to the WHATWG Encoding Standard before checking.

Normalize a string slice into a Write sink.

Normalize a slice of potentially-invalid UTF-8 into a Write sink.

Errors are mapped to the REPLACEMENT CHARACTER according to the WHATWG Encoding Standard.

Normalize a slice of potentially-invalid UTF-16 into a Write16 sink.

Unpaired surrogates are mapped to the REPLACEMENT CHARACTER before normalizing.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.