Skip to main content

cheetah_string/
cheetah_string.rs

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