ICU4X
International Components for Unicode
|
#include <DecomposingNormalizer.d.hpp>
Public Member Functions | |
std::string | normalize (std::string_view s) const |
bool | is_normalized (std::string_view s) const |
bool | is_normalized16 (std::u16string_view s) const |
size_t | is_normalized_up_to (std::string_view s) const |
size_t | is_normalized16_up_to (std::u16string_view s) const |
Static Public Member Functions | |
static std::unique_ptr< icu4x::DecomposingNormalizer > | create_nfd () |
static diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > | create_nfd_with_provider (const icu4x::DataProvider &provider) |
static std::unique_ptr< icu4x::DecomposingNormalizer > | create_nfkd () |
static diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > | create_nfkd_with_provider (const icu4x::DataProvider &provider) |
static void | operator delete (void *ptr) |
See the Rust documentation for DecomposingNormalizer
for more information.
|
inlinestatic |
Construct a new DecomposingNormalizer instance for NFD using compiled data.
See the Rust documentation for new_nfd
for more information.
|
inlinestatic |
Construct a new DecomposingNormalizer instance for NFD using a particular data source.
See the Rust documentation for new_nfd
for more information.
|
inlinestatic |
Construct a new DecomposingNormalizer instance for NFKD using compiled data.
See the Rust documentation for new_nfkd
for more information.
|
inlinestatic |
Construct a new DecomposingNormalizer instance for NFKD using a particular data source.
See the Rust documentation for new_nfkd
for more information.
|
inline |
Check if a string is normalized
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for is_normalized_utf8
for more information.
|
inline |
Check if a string is normalized
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for is_normalized_utf16
for more information.
|
inline |
Return the index a slice of potentially-invalid UTF-16 is normalized up to
See the Rust documentation for split_normalized_utf16
for more information.
|
inline |
Return the index a slice of potentially-invalid UTF-8 is normalized up to
See the Rust documentation for split_normalized_utf8
for more information.
See the Rust documentation for split_normalized
for more information.
|
inline |
Normalize a string
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for normalize_utf8
for more information.
|
inlinestatic |