// This file is part of ICU4X. For terms of use, please see the file
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
#[derive(Debug, PartialEq, Clone, Copy)]#[cfg_attr(feature ="datagen",derive(serde::Serialize))]#[cfg_attr(feature ="serde",derive(serde::Deserialize))]#[allow(clippy::exhaustive_enums)]// this type is stable
pubenumGenericPatternItem{// A single digit, 0..=9
Placeholder(u8),
Literal(char),}implFrom<u8>forGenericPatternItem{fnfrom(input:u8)->Self{Self::Placeholder(input)}}implFrom<char>forGenericPatternItem{fnfrom(input:char)->Self{Self::Literal(input)}}