Module ndless::ffi

source ·

Structs§

  • A type representing an owned C-compatible string.
  • An error indicating that no nul byte was present.
  • An error indicating that a nul byte was not in the expected position.
  • Borrowed reference to an OS string (see OsString).
  • A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.
  • VaListExperimental
    A wrapper for a va_list
  • VaListImplExperimental
    Basic implementation of a va_list.

Enums§

Traits§

Type Aliases§

  • Equivalent to C’s char type.
  • Equivalent to C’s double type.
  • Equivalent to C’s float type.
  • Equivalent to C’s signed int (int) type.
  • Equivalent to C’s signed long (long) type.
  • Equivalent to C’s signed long long (long long) type.
  • Equivalent to C’s signed char type.
  • Equivalent to C’s signed short (short) type.
  • Equivalent to C’s unsigned char type.
  • Equivalent to C’s unsigned int type.
  • Equivalent to C’s unsigned long type.
  • Equivalent to C’s unsigned long long type.
  • Equivalent to C’s unsigned short type.
  • c_ptrdiff_tExperimental
    Equivalent to C’s ptrdiff_t type, from stddef.h (or cstddef for C++).
  • c_size_tExperimental
    Equivalent to C’s size_t type, from stddef.h (or cstddef for C++).
  • c_ssize_tExperimental
    Equivalent to C’s ssize_t (on POSIX) or SSIZE_T (on Windows) type.