Expand description
Utilities related to FFI bindings.
See alloc::ffi
& core::ffi
.
Structs§
- Representation of a borrowed C string.
- A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
- An error indicating that no nul byte was present.
- An error indicating that a nul byte was not in the expected position.
- An error indicating that a nul byte was not in the expected position.
- An error indicating that an interior nul byte was found.
- VaListExperimentalA wrapper for a
va_list
- VaListImplExperimentalx86_64 ABI implementation of a
va_list
.
Enums§
- Equivalent to C’s
void
type when used as a pointer.
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. - NonZero_c_charExperimentalType alias for
NonZero
version ofc_char
- NonZero_c_intExperimentalType alias for
NonZero
version ofc_int
- NonZero_c_longExperimentalType alias for
NonZero
version ofc_long
- NonZero_c_longlongExperimentalType alias for
NonZero
version ofc_longlong
- NonZero_c_scharExperimentalType alias for
NonZero
version ofc_schar
- NonZero_c_shortExperimentalType alias for
NonZero
version ofc_short
- NonZero_c_ucharExperimentalType alias for
NonZero
version ofc_uchar
- NonZero_c_uintExperimentalType alias for
NonZero
version ofc_uint
- NonZero_c_ulongExperimentalType alias for
NonZero
version ofc_ulong
- NonZero_c_ulonglongExperimentalType alias for
NonZero
version ofc_ulonglong
- NonZero_c_ushortExperimentalType alias for
NonZero
version ofc_ushort
- c_ptrdiff_tExperimentalEquivalent to C’s
ptrdiff_t
type, fromstddef.h
(orcstddef
for C++). - c_size_tExperimentalEquivalent to C’s
size_t
type, fromstddef.h
(orcstddef
for C++). - c_ssize_tExperimentalEquivalent to C’s
ssize_t
(on POSIX) orSSIZE_T
(on Windows) type.