Expand description
Platform-specific types, as defined by C.
Code that interacts via FFI will almost certainly be using the base types provided by C, which aren’t nearly as nicely defined as Rust’s primitive types. This module provides types which will match those defined by C, so that code that interacts with C will refer to the correct types.
Structs
- VaListExperimentalA wrapper for ava_list
- VaListImplExperimentalAArch64 ABI implementation of ava_list. See the AArch64 Procedure Call Standard for more details.
- Representation of a borrowed C string.
- An error indicating that no nul byte was present.
- An error indicating that a nul byte was not in the expected position.
Enums
- Equivalent to C’svoidtype when used as a pointer.
Type Aliases
- NonZero_c_charExperimentalType alias forNonZeroversion ofc_char
- NonZero_c_intExperimentalType alias forNonZeroversion ofc_int
- NonZero_c_longExperimentalType alias forNonZeroversion ofc_long
- NonZero_c_longlongExperimentalType alias forNonZeroversion ofc_longlong
- NonZero_c_scharExperimentalType alias forNonZeroversion ofc_schar
- NonZero_c_shortExperimentalType alias forNonZeroversion ofc_short
- NonZero_c_ucharExperimentalType alias forNonZeroversion ofc_uchar
- NonZero_c_uintExperimentalType alias forNonZeroversion ofc_uint
- NonZero_c_ulongExperimentalType alias forNonZeroversion ofc_ulong
- NonZero_c_ulonglongExperimentalType alias forNonZeroversion ofc_ulonglong
- NonZero_c_ushortExperimentalType alias forNonZeroversion ofc_ushort
- c_ptrdiff_tExperimentalEquivalent to C’sptrdiff_ttype, fromstddef.h(orcstddeffor C++).
- c_size_tExperimentalEquivalent to C’ssize_ttype, fromstddef.h(orcstddeffor C++).
- c_ssize_tExperimentalEquivalent to C’sssize_t(on POSIX) orSSIZE_T(on Windows) type.
- Equivalent to C’schartype.
- Equivalent to C’sdoubletype.
- Equivalent to C’sfloattype.
- Equivalent to C’ssigned int(int) type.
- Equivalent to C’ssigned long(long) type.
- Equivalent to C’ssigned long long(long long) type.
- Equivalent to C’ssigned chartype.
- Equivalent to C’ssigned short(short) type.
- Equivalent to C’sunsigned chartype.
- Equivalent to C’sunsigned inttype.
- Equivalent to C’sunsigned longtype.
- Equivalent to C’sunsigned long longtype.
- Equivalent to C’sunsigned shorttype.