Module std::ffiUnstable [-]  [+] [src]

Utilities related to FFI bindings.

Structs

CString

A type representing a C-compatible string

OsStr

Slices into OS strings.

OsString

Owned, mutable OS strings.

Traits

AsOsStr

Freely convertible to an &OsStr slice.

Functions

c_str_to_bytes

Interpret a C string as a byte slice.

c_str_to_bytes_with_nul

Interpret a C string as a byte slice with the nul terminator.