Struct icu::properties::provider::BidiClassValueToShortNameV1Marker
source · pub struct BidiClassValueToShortNameV1Marker;
Expand description
Data marker for producing short names of the values of the ‘bc’ Unicode property
Trait Implementations§
source§impl DataMarker for BidiClassValueToShortNameV1Marker
impl DataMarker for BidiClassValueToShortNameV1Marker
§type Yokeable = PropertyEnumToValueNameLinearMapV1<'static>
type Yokeable = PropertyEnumToValueNameLinearMapV1<'static>
A type that implements [
Yokeable
]. This should typically be the 'static
version of a
data struct.source§impl Default for BidiClassValueToShortNameV1Marker
impl Default for BidiClassValueToShortNameV1Marker
source§fn default() -> BidiClassValueToShortNameV1Marker
fn default() -> BidiClassValueToShortNameV1Marker
Returns the “default value” for a type. Read more
source§impl KeyedDataMarker for BidiClassValueToShortNameV1Marker
impl KeyedDataMarker for BidiClassValueToShortNameV1Marker
source§const KEY: DataKey = {
{
const RESOURCE_KEY_MACRO_CONST: ::icu_provider::DataKey =
{
match ::icu_provider::DataKey::construct_internal("\nicu4x_key_tagpropnames/to/short/linear/bc@1\n",
::icu_provider::DataKeyMetadata::const_default()) {
Ok(v) => v,
Err(_) =>
::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["Invalid resource key: propnames/to/short/linear/bc@1"])),
}
};
RESOURCE_KEY_MACRO_CONST
}
}
const KEY: DataKey = { { const RESOURCE_KEY_MACRO_CONST: ::icu_provider::DataKey = { match ::icu_provider::DataKey::construct_internal("\nicu4x_key_tagpropnames/to/short/linear/bc@1\n", ::icu_provider::DataKeyMetadata::const_default()) { Ok(v) => v, Err(_) => ::core::panicking::panic_fmt(<#[lang = "format_arguments"]>::new_const(&["Invalid resource key: propnames/to/short/linear/bc@1"])), } }; RESOURCE_KEY_MACRO_CONST } }
The single
DataKey
associated with this marker.