devela/text/grapheme/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// devela::text::grapheme
//
//! Extended Grapheme Clusters.
//!
//! The text between extended grapheme cluster boundaries as
//! specified by [UAX #29, "Unicode Text Segmentation"][0].
//!
//! [0]: https://www.unicode.org/reports/tr29/
//

mod r#trait; // Grapheme

#[cfg(feature = "_string_nonul")]
mod nonul;
#[cfg(feature = "_string_u8")]
mod string_u8;
#[cfg(feature = "alloc")]
mod string;

crate::items! { // structural access: _mods, _all
    #[allow(unused)]
    pub use _mods::*;

    mod _mods {
        pub use super::r#trait::*;

        #[cfg(feature = "_string_nonul")]
        pub use super::nonul::*;
        #[cfg(feature = "_string_u8")]
        pub use super::string_u8::*;
        #[cfg(feature = "alloc")]
        pub use super::string::*;
    }
    pub(super) mod _all {
        #[doc(inline)]
        pub use super::_mods::*;
    }
}