pub enum CallingConvention {
Rust,
C,
System,
}Expand description
Calling convention for external functions.
Variants§
Rust
Rust calling convention.
C
C calling convention (platform-dependent).
System
System calling 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
Source§impl Display for CallingConvention
impl Display 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 Forget for CallingConvention
impl Freeze for CallingConvention
impl Move 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