utf8_rune/
lib.rs

1pub mod errors;
2#[doc(inline)]
3pub use errors::{Error, Result};
4
5pub mod byte_type;
6#[doc(inline)]
7pub use byte_type::ByteType;
8
9pub mod rune;
10#[doc(inline)]
11pub use rune::Rune;
12
13pub mod runes;
14#[doc(inline)]
15pub use runes::Runes;
16
17pub mod internal;
18pub(crate) use internal::{
19    continuation_bytes_location, copy_ptr, dealloc_ptr, display_error, format_bytes,
20    get_byte_at_index, get_byte_slice_of, get_valid_utf8_str_of, is_valid_utf8_str_of,
21    new_ptr, slice_ptr_and_length_from_bytes, slice_ptr_and_length_from_display,
22    unwrap_indent, DEFAULT_INDENT,
23};
24
25pub mod parts;
26#[doc(inline)]
27pub use parts::RuneParts;
28
29pub mod heuristic;
30#[doc(inline)]
31pub use heuristic::{
32    get_rune_cutoff_at_index, next_valid_cutoff, previous_valid_cutoff,
33    split_at_first_rune, unexpected_continuation_byte_at_index_error,
34};