1 // This file is part of ICU4X. For terms of use, please see the file 2 // called LICENSE at the top level of the ICU4X source tree 3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). 4 5 #[cfg(feature = "alloc")] 6 use crate::preferences::extensions::unicode::enum_keyword; 7 8 #[cfg(feature = "alloc")] 9 enum_keyword!( 10 /// A Measurement Unit Preference Override defines an override for measurement unit preference. 11 /// 12 /// The valid values are listed in [LDML](https://unicode.org/reports/tr35/#MeasurementUnitPreferenceOverride). 13 MeasurementUnitOverride { 14 /// Celsius as temperature unit 15 ("celsius" => Celsius), 16 /// Kelvin as temperature unit 17 ("kelvin" => Kelvin), 18 /// Fahrenheit as temperature unit 19 ("fahrenhe" => Fahrenheit), 20 }, "mu"); 21