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 thechar *
C API and Ruststr
. - 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 Cchar *
API and Rust’sstr
.
Functions
- new
alloc
Constructs a newchar_p::Box
off a stringy input.