ICU4X
International Components for Unicode
|
#include <ComposingNormalizer.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::ComposingNormalizer > | create_nfc () |
static diplomat::result< std::unique_ptr< icu4x::ComposingNormalizer >, icu4x::DataError > | create_nfc_with_provider (const icu4x::DataProvider &provider) |
static std::unique_ptr< icu4x::ComposingNormalizer > | create_nfkc () |
static diplomat::result< std::unique_ptr< icu4x::ComposingNormalizer >, icu4x::DataError > | create_nfkc_with_provider (const icu4x::DataProvider &provider) |
static void | operator delete (void *ptr) |
See the Rust documentation for ComposingNormalizer
for more information.
|
inlinestatic |
Construct a new ComposingNormalizer instance for NFC using compiled data.
See the Rust documentation for new_nfc
for more information.
|
inlinestatic |
Construct a new ComposingNormalizer instance for NFC using a particular data source.
See the Rust documentation for new_nfc
for more information.
|
inlinestatic |
Construct a new ComposingNormalizer instance for NFKC using compiled data.
See the Rust documentation for new_nfkc
for more information.
|
inlinestatic |
Construct a new ComposingNormalizer instance for NFKC using a particular data source.
See the Rust documentation for new_nfkc
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 |