Struct icu::segmenter::provider::SentenceBreakDataV1Marker
source · pub struct SentenceBreakDataV1Marker;
Expand description
Marker type for RuleBreakDataV1
: “segmenter/sentence@1”
- Fallback priority: language (default)
- Extension keyword: none (default)
Trait Implementations§
source§impl DataMarker for SentenceBreakDataV1Marker
impl DataMarker for SentenceBreakDataV1Marker
§type Yokeable = RuleBreakDataV1<'static>
type Yokeable = RuleBreakDataV1<'static>
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.source§impl KeyedDataMarker for SentenceBreakDataV1Marker
impl KeyedDataMarker for SentenceBreakDataV1Marker
source§const KEY: DataKey = {
const RESOURCE_KEY_MACRO_CONST: ::icu_provider::DataKey =
{
match ::icu_provider::DataKey::construct_internal("\nicu4x_key_tagsegmenter/sentence@1\n",
icu_provider::DataKeyMetadata::construct_internal(icu_provider::FallbackPriority::const_default(),
None, None)) {
Ok(v) => v,
Err(_) =>
::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["Invalid resource key: segmenter/sentence@1"])),
}
};
RESOURCE_KEY_MACRO_CONST
}
const KEY: DataKey = { const RESOURCE_KEY_MACRO_CONST: ::icu_provider::DataKey = { match ::icu_provider::DataKey::construct_internal("\nicu4x_key_tagsegmenter/sentence@1\n", icu_provider::DataKeyMetadata::construct_internal(icu_provider::FallbackPriority::const_default(), None, None)) { Ok(v) => v, Err(_) => ::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["Invalid resource key: segmenter/sentence@1"])), } }; RESOURCE_KEY_MACRO_CONST }
The single
DataKey
associated with this marker.