Skip to main content

Module text

Module text 

Source
Expand description

Text handed to the SDK, which takes C strings (NUL-terminated).

Structs§

FixedText
A C string of at most N - 1 bytes written with fmt::Write, without allocating: the panic handler’s message, which must not fail when the heap is what ran out. Text that doesn’t fit is cut at a character boundary; NULs are left out. N is at least 1.

Functions§

c_string
text as a C string: its bytes without any NUL, then one NUL.