pub enum CallingConvention {
C,
Swift,
ObjectiveCMethod,
Thiscall,
Vectorcall,
Aapcs,
AapcsVfp,
Unknown,
}Expand description
Function calling convention.
Variants§
C
C ABI.
Swift
Swift ABI.
ObjectiveCMethod
Objective-C method ABI.
Thiscall
Microsoft thiscall.
Vectorcall
Vectorcall.
Aapcs
ARM procedure call standard.
AapcsVfp
ARM hard-float procedure call standard.
Unknown
An observed but unidentified convention.
Trait Implementations§
Source§impl Clone for CallingConvention
impl Clone for CallingConvention
impl Copy for CallingConvention
Source§impl Debug for CallingConvention
impl Debug for CallingConvention
impl Eq for CallingConvention
Source§impl Hash for CallingConvention
impl Hash for CallingConvention
Source§impl PartialEq for CallingConvention
impl PartialEq for CallingConvention
impl StructuralPartialEq for CallingConvention
Auto Trait Implementations§
impl Freeze for CallingConvention
impl RefUnwindSafe for CallingConvention
impl Send for CallingConvention
impl Sync for CallingConvention
impl Unpin for CallingConvention
impl UnsafeUnpin for CallingConvention
impl UnwindSafe for CallingConvention
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