Expand description
A flexible, simple to use, immutable, clone-efficient String replacement for Rust
Re-exports§
pub use bytes::LocalBytes;bytespub use cstr::LocalCStr;cstrpub use osstr::LocalOsStr;stdandosstrpub use path::LocalPath;stdandpathpub use str::LocalStr;str
Modules§
- bytes
bytes - Module for byte-based strings (
[u8]) - cstr
cstr - Module for
CStr-based strings - osstr
stdandosstr - Module for
OsStr-based strings - path
stdandpath - Module for
Path-based strings - str
str - Module for
str-based strings
Structs§
- Interior
NulError cstr - Error type returned when a C String has an interior NUL byte.
Enums§
- FlexStr
- Flexible string type that can store a borrowed string, an inline string, a reference counted string, or a boxed string
Traits§
- Immutable
Bytes - Marker trait for string types that don’t provide conversion from bytes to mutable string reference
- RefCounted
- Trait for storage that can be reference counted
- RefCounted
Mut - Trait for storage that can be reference counted and mutable
- String
Like - Trait for string types that provide various operations