pub enum CallConvention {
Show 20 variants
C,
Rust,
Cold,
PreserveMost,
PreserveAll,
ArmAapcs,
CCmseNonSecureCall,
CCmseNonSecureEntry,
Msp430Intr,
PtxKernel,
X86Fastcall,
X86Intr,
X86Stdcall,
X86ThisCall,
X86VectorCall,
X86_64SysV,
X86_64Win64,
AvrInterrupt,
AvrNonBlockingInterrupt,
RiscvInterrupt,
}
Expand description
General language calling conventions.
Variants§
C
Rust
Cold
PreserveMost
PreserveAll
ArmAapcs
CCmseNonSecureCall
CCmseNonSecureEntry
Msp430Intr
PtxKernel
X86Fastcall
X86Intr
X86Stdcall
X86ThisCall
X86VectorCall
X86_64SysV
X86_64Win64
AvrInterrupt
AvrNonBlockingInterrupt
RiscvInterrupt
Trait Implementations§
Source§impl Clone for CallConvention
impl Clone for CallConvention
Source§fn clone(&self) -> CallConvention
fn clone(&self) -> CallConvention
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CallConvention
impl Debug for CallConvention
Source§impl Hash for CallConvention
impl Hash for CallConvention
Source§impl PartialEq for CallConvention
impl PartialEq for CallConvention
Source§impl Serialize for CallConvention
impl Serialize for CallConvention
impl Copy for CallConvention
impl Eq for CallConvention
impl StructuralPartialEq for CallConvention
Auto Trait Implementations§
impl Freeze for CallConvention
impl RefUnwindSafe for CallConvention
impl Send for CallConvention
impl Sync for CallConvention
impl Unpin for CallConvention
impl UnwindSafe for CallConvention
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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: 1 byte
Size for each variant:
C
: 0 bytesRust
: 0 bytesCold
: 0 bytesPreserveMost
: 0 bytesPreserveAll
: 0 bytesArmAapcs
: 0 bytesCCmseNonSecureCall
: 0 bytesCCmseNonSecureEntry
: 0 bytesMsp430Intr
: 0 bytesPtxKernel
: 0 bytesX86Fastcall
: 0 bytesX86Intr
: 0 bytesX86Stdcall
: 0 bytesX86ThisCall
: 0 bytesX86VectorCall
: 0 bytesX86_64SysV
: 0 bytesX86_64Win64
: 0 bytesAvrInterrupt
: 0 bytesAvrNonBlockingInterrupt
: 0 bytesRiscvInterrupt
: 0 bytes