# Module std::ffi 1.0.0 [−] [src]

Utilities related to FFI bindings.

## Structs

CStr | Representation of a borrowed C string.
CString | A type representing an owned C-compatible string.
FromBytesWithNulError | An error returned from `CStr::from_bytes_with_nul` to indicate that a nul byte was found too early in the slice provided or one wasn't found at all.
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.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)