Expand description

char *-compatible strings (slim pointers), for easier use from within C. They thus do not support inner nulls, nor string appending.

Structs

A #[repr(c)] null-terminated UTF-8 encoded string, for compatibility with both the char * C API and Rust str.
Same as char_p_ref, but without any lifetime attached whatsoever.
A #[repr(c)] null-terminated UTF-8 encoded string, for compatibility with both the C char * API and Rust’s str.

Functions

newalloc
Constructs a new char_p::Box off a stringy input.