pub trait AsCStr { // Required method fn as_cstr(&self) -> &CStr; }
Conversion to a C-style string.
If using the derive macro, this will be a cheap conversion.
Represent self as a &CStr
&CStr