pub enum CallingConvention {
SystemV,
WindowsFastcall,
}
Expand description
The calling convention, which specifies things like which registers are used for passing arguments, which registers are callee-saved, and so on.
Variants
SystemV
WindowsFastcall
Trait Implementations
sourceimpl Clone for CallingConvention
impl Clone for CallingConvention
sourcefn clone(&self) -> CallingConvention
fn clone(&self) -> CallingConvention
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CallingConvention
impl Debug for CallingConvention
sourceimpl Hash for CallingConvention
impl Hash for CallingConvention
sourceimpl PartialEq<CallingConvention> for CallingConvention
impl PartialEq<CallingConvention> for CallingConvention
sourcefn eq(&self, other: &CallingConvention) -> bool
fn eq(&self, other: &CallingConvention) -> bool
impl Copy for CallingConvention
impl Eq for CallingConvention
impl StructuralEq for CallingConvention
impl StructuralPartialEq for CallingConvention
Auto Trait Implementations
impl RefUnwindSafe for CallingConvention
impl Send for CallingConvention
impl Sync for CallingConvention
impl Unpin for CallingConvention
impl UnwindSafe for CallingConvention
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