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