summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst')
-rw-r--r--intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst41
1 files changed, 41 insertions, 0 deletions
diff --git a/intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst b/intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst
new file mode 100644
index 0000000000..546a899102
--- /dev/null
+++ b/intl/icu_capi/js/package/docs/source/locale_directionality_ffi.rst
@@ -0,0 +1,41 @@
+``locale_directionality::ffi``
+==============================
+
+.. js:class:: ICU4XLocaleDirection
+
+ See the `Rust documentation for Direction <https://docs.rs/icu/latest/icu/locid_transform/enum.Direction.html>`__ for more information.
+
+
+.. js:class:: ICU4XLocaleDirectionality
+
+ See the `Rust documentation for LocaleDirectionality <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html>`__ for more information.
+
+
+ .. js:function:: create(provider)
+
+ Construct a new ICU4XLocaleDirectionality instance
+
+ See the `Rust documentation for new <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.new>`__ for more information.
+
+
+ .. js:function:: create_with_expander(provider, expander)
+
+ Construct a new ICU4XLocaleDirectionality instance with a custom expander
+
+ See the `Rust documentation for new_with_expander <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.new_with_expander>`__ for more information.
+
+
+ .. js:method:: get(locale)
+
+ See the `Rust documentation for get <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.get>`__ for more information.
+
+
+ .. js:method:: is_left_to_right(locale)
+
+ See the `Rust documentation for is_left_to_right <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.is_left_to_right>`__ for more information.
+
+
+ .. js:method:: is_right_to_left(locale)
+
+ See the `Rust documentation for is_right_to_left <https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.is_right_to_left>`__ for more information.
+