pub trait StringToFFI {
// Required method
fn into_ffi_string(self) -> FFIString;
}
Expand description
Adds into_ffi_string()
to String
This does not add to_ffi_str()
or to_ffi_string()
because those are already available with String’s Deref<Target = str>
Required Methods§
Sourcefn into_ffi_string(self) -> FFIString
fn into_ffi_string(self) -> FFIString
Convenience function for converting from String to FFIString, copying only pointers