pub struct LeanExportArgAbi { /* private fields */ }Expand description
ABI shape of one exported function argument.
Implementations§
Source§impl LeanExportArgAbi
impl LeanExportArgAbi
Sourcepub const fn new(
repr: LeanExportAbiRepr,
ownership: LeanExportOwnership,
) -> Self
pub const fn new( repr: LeanExportAbiRepr, ownership: LeanExportOwnership, ) -> Self
Construct the ABI shape for a function argument slot.
Sourcepub const fn repr(self) -> LeanExportAbiRepr
pub const fn repr(self) -> LeanExportAbiRepr
C representation for this argument.
Sourcepub const fn ownership(self) -> LeanExportOwnership
pub const fn ownership(self) -> LeanExportOwnership
Ownership convention for this argument.
Trait Implementations§
Source§impl Clone for LeanExportArgAbi
impl Clone for LeanExportArgAbi
Source§fn clone(&self) -> LeanExportArgAbi
fn clone(&self) -> LeanExportArgAbi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanExportArgAbi
impl Debug for LeanExportArgAbi
Source§impl Hash for LeanExportArgAbi
impl Hash for LeanExportArgAbi
Source§impl PartialEq for LeanExportArgAbi
impl PartialEq for LeanExportArgAbi
Source§fn eq(&self, other: &LeanExportArgAbi) -> bool
fn eq(&self, other: &LeanExportArgAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeanExportArgAbi
impl Eq for LeanExportArgAbi
impl StructuralPartialEq for LeanExportArgAbi
Auto Trait Implementations§
impl Freeze for LeanExportArgAbi
impl RefUnwindSafe for LeanExportArgAbi
impl Send for LeanExportArgAbi
impl Sync for LeanExportArgAbi
impl Unpin for LeanExportArgAbi
impl UnsafeUnpin for LeanExportArgAbi
impl UnwindSafe for LeanExportArgAbi
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