pub trait IntoCString {
    fn into_c_string(self) -> CString;
}
Expand description

A similar trait to ToString, but for CStrs, and avoiding an extra allocation when applied to a CString

Required Methods

Converts value into a C string.

Implementations on Foreign Types

Implementors