summaryrefslogtreecommitdiffstats
path: root/intl/icu_segmenter_data/data/macros.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /intl/icu_segmenter_data/data/macros.rs
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'intl/icu_segmenter_data/data/macros.rs')
-rw-r--r--intl/icu_segmenter_data/data/macros.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/icu_segmenter_data/data/macros.rs b/intl/icu_segmenter_data/data/macros.rs
new file mode 100644
index 0000000000..5b57e0c376
--- /dev/null
+++ b/intl/icu_segmenter_data/data/macros.rs
@@ -0,0 +1,2 @@
+// @generated
+# [doc = r" Marks a type as a data provider. You can then use macros like"] # [doc = r" `impl_core_helloworld_v1` to add implementations."] # [doc = r""] # [doc = r" ```ignore"] # [doc = r" struct MyProvider;"] # [doc = r" const _: () = {"] # [doc = r#" include!("path/to/generated/macros.rs");"#] # [doc = r" make_provider!(MyProvider);"] # [doc = r" impl_core_helloworld_v1!(MyProvider);"] # [doc = r" }"] # [doc = r" ```"] # [doc (hidden)] # [macro_export] macro_rules ! __make_provider { ($ name : ty) => { # [clippy :: msrv = "1.67"] impl $ name { # [doc (hidden)] # [allow (dead_code)] pub const MUST_USE_MAKE_PROVIDER_MACRO : () = () ; } } ; } # [doc (inline)] pub use __make_provider as make_provider ; # [macro_use] # [path = "macros/segmenter_dictionary_w_auto_v1.rs.data"] mod segmenter_dictionary_w_auto_v1 ; # [doc (inline)] pub use __impl_segmenter_dictionary_w_auto_v1 as impl_segmenter_dictionary_w_auto_v1 ; # [macro_use] # [path = "macros/segmenter_dictionary_wl_ext_v1.rs.data"] mod segmenter_dictionary_wl_ext_v1 ; # [doc (inline)] pub use __impl_segmenter_dictionary_wl_ext_v1 as impl_segmenter_dictionary_wl_ext_v1 ; # [macro_use] # [path = "macros/segmenter_grapheme_v1.rs.data"] mod segmenter_grapheme_v1 ; # [doc (inline)] pub use __impl_segmenter_grapheme_v1 as impl_segmenter_grapheme_v1 ; # [macro_use] # [path = "macros/segmenter_line_v1.rs.data"] mod segmenter_line_v1 ; # [doc (inline)] pub use __impl_segmenter_line_v1 as impl_segmenter_line_v1 ; # [macro_use] # [path = "macros/segmenter_lstm_wl_auto_v1.rs.data"] mod segmenter_lstm_wl_auto_v1 ; # [doc (inline)] pub use __impl_segmenter_lstm_wl_auto_v1 as impl_segmenter_lstm_wl_auto_v1 ; # [macro_use] # [path = "macros/segmenter_sentence_v1.rs.data"] mod segmenter_sentence_v1 ; # [doc (inline)] pub use __impl_segmenter_sentence_v1 as impl_segmenter_sentence_v1 ; # [macro_use] # [path = "macros/segmenter_word_v1.rs.data"] mod segmenter_word_v1 ; # [doc (inline)] pub use __impl_segmenter_word_v1 as impl_segmenter_word_v1 ; \ No newline at end of file