Enum rustc_target::abi::call::Conv
source · pub enum Conv {
Show 17 variants
C,
Rust,
RustCold,
ArmAapcs,
CCmseNonSecureCall,
Msp430Intr,
PtxKernel,
X86Fastcall,
X86Intr,
X86Stdcall,
X86ThisCall,
X86VectorCall,
X86_64SysV,
X86_64Win64,
AmdGpuKernel,
AvrInterrupt,
AvrNonBlockingInterrupt,
}
Variants
C
Rust
RustCold
For things unlikely to be called, where smaller caller codegen is
preferred over raw speed.
Stronger than just #[cold]
because fn
pointers might be incompatible.
ArmAapcs
CCmseNonSecureCall
Msp430Intr
PtxKernel
X86Fastcall
X86Intr
X86Stdcall
X86ThisCall
X86VectorCall
X86_64SysV
X86_64Win64
AmdGpuKernel
AvrInterrupt
AvrNonBlockingInterrupt
Trait Implementations
sourceimpl<__CTX> HashStable<__CTX> for Convwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for Convwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
impl Copy for Conv
impl Eq for Conv
impl StructuralEq for Conv
impl StructuralPartialEq for Conv
Auto Trait Implementations
impl RefUnwindSafe for Conv
impl Send for Conv
impl Sync for Conv
impl Unpin for Conv
impl UnwindSafe for Conv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 1 byte
Size for each variant:
C
: 0 bytesRust
: 0 bytesRustCold
: 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 bytesAmdGpuKernel
: 0 bytesAvrInterrupt
: 0 bytesAvrNonBlockingInterrupt
: 0 bytes