pub struct ExternInterface {
pub args: Vec<ExternArg>,
}Expand description
C-prototype-derived call interface for an external (imported, bodyless)
function, planned once by external_sigs and consumed by
argpromote_external, which needs neither the binary nor cabi afterwards.
Fields§
§args: Vec<ExternArg>The ordered call slots, one per positional argument.
Trait Implementations§
Source§impl Clone for ExternInterface
impl Clone for ExternInterface
Source§fn clone(&self) -> ExternInterface
fn clone(&self) -> ExternInterface
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 ExternInterface
impl Debug for ExternInterface
Source§impl Default for ExternInterface
impl Default for ExternInterface
Source§fn default() -> ExternInterface
fn default() -> ExternInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternInterface
impl<'de> Deserialize<'de> for ExternInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExternInterface
Source§impl PartialEq for ExternInterface
impl PartialEq for ExternInterface
Source§impl Serialize for ExternInterface
impl Serialize for ExternInterface
impl StructuralPartialEq for ExternInterface
Auto Trait Implementations§
impl Freeze for ExternInterface
impl RefUnwindSafe for ExternInterface
impl Send for ExternInterface
impl Sync for ExternInterface
impl Unpin for ExternInterface
impl UnsafeUnpin for ExternInterface
impl UnwindSafe for ExternInterface
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