Enum rustc_session::cstore::DllCallingConvention [−][src]
Expand description
Calling convention for a function defined in an external library.
The usize value, where present, indicates the size of the function’s argument list in bytes.
Variants
Stdcall(usize)
Tuple Fields of Stdcall
0: usize
Fastcall(usize)
Tuple Fields of Fastcall
0: usize
Vectorcall(usize)
Tuple Fields of Vectorcall
0: usize
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DllCallingConvention
impl Send for DllCallingConvention
impl Sync for DllCallingConvention
impl Unpin for DllCallingConvention
impl UnwindSafe for DllCallingConvention
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
C
: 0 bytesStdcall
: 8 bytesFastcall
: 8 bytesVectorcall
: 8 bytes