Module std::ffi [] [src]

Utilities related to FFI bindings.

Structs

CStr

Representation of a borrowed C string.

CString

A type representing an owned C-compatible string

IntoStringError

An error returned from CString::into_string to indicate that a UTF-8 error was encountered during the conversion.

NulError

An error returned from CString::new to indicate that a nul byte was found in the vector provided.

OsStr

Slices into OS strings (see OsString).

OsString

A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.