Expand description
Const equivalents of char
functions.
The module is called chr
to avoid name collisions with the char
type.
Structs§
- Utf8
Encoded - A char encoded as a utf8 string.
Functions§
- encode_
utf8 - Encodes
c
into utf8, const analog ofchar::encode_utf8
. - from_
u32 - Fallible conversion from
u32
tochar
, const equivalent ofchar::from_u32
- from_
u32_ ⚠unchecked - Unsafely coerces
u32
tochar
, const equivalent ofchar::from_u32_unchecked