Module rustpython_common::str
source · Re-exports§
pub use ascii;
Modules§
Macros§
- Creates an
AsciiStr
from a string literal, throwing a compile error if the literal isn’t actually ascii.
Structs§
Enums§
- Utf8 + state.ascii (+ PyUnicode_Kind in future)
Functions§
- Convert a string to ascii compatible, escaping unicodes into escape sequences.