diff options
Diffstat (limited to 'intl/icu_capi/js/package/docs/source/normalizer_ffi.rst')
-rw-r--r-- | intl/icu_capi/js/package/docs/source/normalizer_ffi.rst | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/intl/icu_capi/js/package/docs/source/normalizer_ffi.rst b/intl/icu_capi/js/package/docs/source/normalizer_ffi.rst new file mode 100644 index 0000000000..08e0889a0b --- /dev/null +++ b/intl/icu_capi/js/package/docs/source/normalizer_ffi.rst @@ -0,0 +1,76 @@ +``normalizer::ffi`` +=================== + +.. js:class:: ICU4XComposingNormalizer + + See the `Rust documentation for ComposingNormalizer <https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html>`__ for more information. + + + .. js:function:: create_nfc(provider) + + Construct a new ICU4XComposingNormalizer instance for NFC + + See the `Rust documentation for new_nfc <https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfc>`__ for more information. + + + .. js:function:: create_nfkc(provider) + + Construct a new ICU4XComposingNormalizer instance for NFKC + + See the `Rust documentation for new_nfkc <https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfkc>`__ for more information. + + + .. js:method:: normalize(s) + + Normalize a (potentially ill-formed) UTF8 string + + Errors are mapped to REPLACEMENT CHARACTER + + See the `Rust documentation for normalize_utf8 <https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html#method.normalize_utf8>`__ for more information. + + + .. js:method:: is_normalized(s) + + Check if a (potentially ill-formed) UTF8 string is normalized + + Errors are mapped to REPLACEMENT CHARACTER + + See the `Rust documentation for is_normalized_utf8 <https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html#method.is_normalized_utf8>`__ for more information. + + +.. js:class:: ICU4XDecomposingNormalizer + + See the `Rust documentation for DecomposingNormalizer <https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html>`__ for more information. + + + .. js:function:: create_nfd(provider) + + Construct a new ICU4XDecomposingNormalizer instance for NFC + + See the `Rust documentation for new_nfd <https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfd>`__ for more information. + + + .. js:function:: create_nfkd(provider) + + Construct a new ICU4XDecomposingNormalizer instance for NFKC + + See the `Rust documentation for new_nfkd <https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfkd>`__ for more information. + + + .. js:method:: normalize(s) + + Normalize a (potentially ill-formed) UTF8 string + + Errors are mapped to REPLACEMENT CHARACTER + + See the `Rust documentation for normalize_utf8 <https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html#method.normalize_utf8>`__ for more information. + + + .. js:method:: is_normalized(s) + + Check if a (potentially ill-formed) UTF8 string is normalized + + Errors are mapped to REPLACEMENT CHARACTER + + See the `Rust documentation for is_normalized_utf8 <https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html#method.is_normalized_utf8>`__ for more information. + |