pub enum CallConv {
C = 0,
Fast = 8,
Cold = 9,
WebKitJS = 12,
AnyReg = 13,
X86Stdcall = 64,
X86Fastcall = 65,
}
Expand description
A renamed LLVMCallConv
Variants§
C = 0
The default C calling convention
Fast = 8
Makes calls as fast as possible. Allows tail calls
Cold = 9
Assumes the function will not be called frequently
WebKitJS = 12
The calling convention for WebKit JS
AnyReg = 13
Dynamic calling convention for code patching
X86Stdcall = 64
The x86 standard calling convention
X86Fastcall = 65
The x86 fast calling convention
Implementations§
Trait Implementations§
impl Copy for CallConv
impl Eq for CallConv
impl StructuralPartialEq for CallConv
Auto Trait Implementations§
impl Freeze for CallConv
impl RefUnwindSafe for CallConv
impl Send for CallConv
impl Sync for CallConv
impl Unpin for CallConv
impl UnwindSafe for CallConv
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