Module str

Source

Re-exports§

pub use ascii;

Modules§

levenshtein

Macros§

ascii
Creates an AsciiStr from a string literal, throwing a compile error if the literal isn’t actually ascii.

Structs§

BorrowedStr

Enums§

PyStrKind
Utf8 + state.ascii (+ PyUnicode_Kind in future)
PyStrKindData

Functions§

char_range_end
get_chars
to_ascii
Convert a string to ascii compatible, escaping unicodes into escape sequences.
try_get_chars
zfill

Type Aliases§

wchar_t