icu_datetime/provider/pattern/runtime/
mod.rs

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//! Runtime `Pattern` implementation which is optimized for zero-allocation
6//! deserialization and high-performance runtime use in `DateTimeFormatter`.
7//!
8//! This module is meant to remain an implementation detail and can evolve to
9//! utilize all runtime performance optimizations `ICU4X` needs.
10//!
11//! For all spec compliant behaviors see `reference::Pattern` equivalent.
12//!
13//! <div class="stab unstable">
14//! 🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
15//! including in SemVer minor releases. While the serde representation of data structs is guaranteed
16//! to be stable, their Rust representation might not be. Use with caution.
17//! </div>
18
19mod display;
20mod generic;
21pub(crate) mod helpers;
22mod pattern;
23
24pub use generic::GenericPattern;
25pub(crate) use generic::ZERO_ONE_TWO_SLICE;
26pub(crate) use pattern::PatternBorrowed;
27pub use pattern::{Pattern, PatternMetadata, PatternULE};