Macros§
- _str
dep_const_str
&str
compile-time operations, namespaced from the const-str crate.- str
dep_const_str
&str
compile-time operations, namespaced from the const-str crate.- strjoin
- Joins multiple string slices in compile-time.
Structs§
- CStr
core
Representation of a borrowed C string (SeeCString
).- CString
alloc
An owned, C-compatible, nul-terminated string with no nul bytes in the middle.- OsStr
std
std
Borrowed reference to an OS string (SeeOsString
).- OsString
std
std
A type for owned, mutable native strings, interconvertible with Rust strings.- Str
str
- 🌐 A string slice namespace.
- String
alloc
alloc
A UTF-8–encoded, growable string.- String
Nonul _str_nonul
- A UTF-8 string with up to
u8::MAX
bytes, excluding nul chars - String
U8 _str_u8
- A UTF-8–encoded string, backed by an array with
u8::MAX
bytes of capacity.