Enum stable_mir::abi::CallConvention
source · pub enum CallConvention {
Show 19 variants
C,
Rust,
Cold,
PreserveMost,
PreserveAll,
ArmAapcs,
CCmseNonSecureCall,
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
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 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