Expand description
A flexible, simple to use, immutable, clone-efficient String replacement for Rust
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
Type Aliases§
- Local
Bytes bytes - Local
[u8]type (NOTE: This can’t be shared between threads) - LocalC
Str cstr - Local
CStrtype (NOTE: This can’t be shared between threads) - Local
OsStr stdandosstr - Local
OsStrtype (NOTE: This can’t be shared between threads) - Local
Path stdandpath - Local
Pathtype (NOTE: This can’t be shared between threads) - Local
Str str - Local
strtype (NOTE: This can’t be shared between threads) - Shared
Bytes bytes - Shared
[u8]type - SharedC
Str cstr - Shared
CStrtype - Shared
OsStr stdandosstr - Shared
OsStrtype - Shared
Path stdandpath - Shared
Pathtype - Shared
Str str - Shared
strtype