[−][src]Enum target_lexicon::CallingConvention
The calling convention, which specifies things like which registers are used for passing arguments, which registers are callee-saved, and so on.
Variants
"System V", which is used on most Unix-like platfoms. Note that the specific conventions vary between hardware architectures; for example, x86-32's "System V" is entirely different from x86-64's "System V".
The WebAssembly C ABI. https://github.com/WebAssembly/tool-conventions/blob/master/BasicCABI.md
"Windows Fastcall", which is used on Windows. Note that like "System V", this varies between hardware architectures. On x86-32 it describes what Windows documentation calls "fastcall", and on x86-64 it describes what Windows documentation often just calls the Windows x64 calling convention (though the compiler still recognizes "fastcall" as an alias for it).
Trait Implementations
impl Debug for CallingConvention
[src]
impl PartialEq<CallingConvention> for CallingConvention
[src]
fn eq(&self, other: &CallingConvention) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Eq for CallingConvention
[src]
impl Hash for CallingConvention
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Copy for CallingConvention
[src]
impl StructuralPartialEq for CallingConvention
[src]
impl StructuralEq for CallingConvention
[src]
impl Clone for CallingConvention
[src]
fn clone(&self) -> CallingConvention
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.