pub enum CallingConvention {
ArgsOnStack,
ArgsInLocals,
}
Expand description
Specifies how a function receives its arguments.
Variants§
ArgsOnStack
Arguments are placed on the stack.
ArgsInLocals
Arguments are placed in local variables.
Trait Implementations§
Source§impl Clone for CallingConvention
impl Clone for CallingConvention
Source§fn clone(&self) -> CallingConvention
fn clone(&self) -> CallingConvention
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CallingConvention
impl Debug for CallingConvention
Source§impl Hash for CallingConvention
impl Hash for CallingConvention
Source§impl Ord for CallingConvention
impl Ord for CallingConvention
Source§fn cmp(&self, other: &CallingConvention) -> Ordering
fn cmp(&self, other: &CallingConvention) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CallingConvention
impl PartialEq for CallingConvention
Source§impl PartialOrd for CallingConvention
impl PartialOrd for CallingConvention
impl Copy for CallingConvention
impl Eq 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 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