icu_provider_source/collator/
collator_serde.rsuse icu::collections::codepointtrie::toml::CodePointTrieToml;
#[derive(serde::Deserialize)]
pub(crate) struct CollationData {
pub(crate) trie: CodePointTrieToml,
pub(crate) contexts: Vec<u16>,
pub(crate) ce32s: Vec<u32>,
pub(crate) ces: Vec<i64>,
}
#[derive(serde::Deserialize)]
pub(crate) struct CollationDiacritics {
pub(crate) secondaries: Vec<u16>,
}
#[derive(serde::Deserialize)]
pub(crate) struct CollationJamo {
pub(crate) ce32s: Vec<u32>,
}
#[derive(serde::Deserialize)]
pub(crate) struct CollationMetadata {
pub(crate) bits: u32,
}
#[derive(serde::Deserialize)]
pub(crate) struct CollationReordering {
pub(crate) min_high_no_reorder: u32,
pub(crate) reorder_table: Vec<u8>,
pub(crate) reorder_ranges: Vec<u32>,
}
#[derive(serde::Deserialize)]
pub(crate) struct CollationSpecialPrimaries {
pub(crate) last_primaries: Vec<u16>, pub(crate) numeric_primary: u8,
}