devela/text/char/
reexports.rs

1// devela::text::char::reexports
2
3use crate::reexport;
4
5#[doc = crate::TAG_PRIMITIVE!()]
6/// <span class="stab portability" title="re-exported from rust's `core`">`core`</span>
7/// A 32-bit [unicode scalar][scalar].
8///
9/// It can represent each and every scalar.
10///
11/// See also: [`char7`], [`char8`], [`char16`].
12///
13/// [scalar]: https://www.unicode.org/glossary/#unicode_scalar_value
14/// [`char7`]: crate::char7
15/// [`char8`]: crate::char8
16/// [`char16`]: crate::char16
17// NOTE: this reexport type is not recognized implicity by rustdoc, is it a BUG?
18// TODO: minimal example and the search/make an ISSUE in rust-repo
19#[allow(non_camel_case_types)]
20pub type char = crate::_core::primitive::char;
21
22reexport! { rust: core::str,
23    tag: crate::TAG_ITERATOR!(),
24    doc: "An iterator over the [`char`][prim@char]s of a string slice.",
25    @Chars as IterChars
26}