Skip to main content

cheetah_string/
cheetah_string.rs

1mod construct;
2mod convert;
3mod pattern;
4mod query;
5mod repr;
6mod traits;
7
8pub use pattern::{SplitPattern, SplitStr, StrPattern};
9use repr::InnerString;
10
11/// Immutable string value with inline, static, or shared backing.
12///
13/// All clones are allocation-free. Use `CheetahBuilder` or `String` while
14/// contents are still being mutated.
15#[derive(Clone)]
16#[repr(transparent)]
17pub struct CheetahString {
18    inner: InnerString,
19}