pub struct FnAbi {
pub args: Vec<ArgAbi>,
pub ret: ArgAbi,
pub fixed_count: u32,
pub conv: CallConvention,
pub c_variadic: bool,
}
Expand description
A function ABI definition.
Fields§
§args: Vec<ArgAbi>
The types of each argument.
ret: ArgAbi
The expected return type.
fixed_count: u32
The count of non-variadic arguments.
Should only be different from args.len()
when a function is a C variadic function.
conv: CallConvention
The ABI convention.
c_variadic: bool
Whether this is a variadic C function,
Trait Implementations§
impl Eq for FnAbi
impl StructuralPartialEq for FnAbi
Auto Trait Implementations§
impl Freeze for FnAbi
impl RefUnwindSafe for FnAbi
impl Send for FnAbi
impl Sync for FnAbi
impl Unpin for FnAbi
impl UnwindSafe for FnAbi
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes