pub trait IntoCStr<'a> {
// Required method
fn into_c_str(self) -> NvResult<Cow<'a, CStr>>;
}
Expand description
Trait to keep public interface friendly (i.e. support rust types like &str
) and at the same time
allow using lower level types like CString
& CStr
.