Expand description
String module
cef-rs defines its own type CefString
which is a new
type of widestring::U16CString
to handle everything around strings.
Including converting from/to raw cef_string_utf16_t
,
converting from/to Rust string types. Every cef-rs types should also use CefString
as
interface in most of the cases. Raw cef string cef_string_utf16_t
is a UTF-16 C String,
but it also has a version cef_string_userfree_utf16_t
that users are responsible
for free it manually.
There’s also str_to_cef
function to convert rust string to cef string directly.
Structs
- Helper type to deal with Cef string. It’s essentially an UTF-16 C string.