Struct uniffi_bindgen::interface::ffi::FfiArgument
source · pub struct FfiArgument {
pub(super) name: String,
pub(super) type_: FfiType,
}
Expand description
Represents an argument to an FFI function.
Each argument has a name and a type.
Fields§
§name: String
§type_: FfiType
Implementations§
Trait Implementations§
source§impl Clone for FfiArgument
impl Clone for FfiArgument
source§fn clone(&self) -> FfiArgument
fn clone(&self) -> FfiArgument
Returns a copy 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 FfiArgument
impl Debug for FfiArgument
source§impl From<&Argument> for FfiArgument
impl From<&Argument> for FfiArgument
source§fn from(a: &Argument) -> FfiArgument
fn from(a: &Argument) -> FfiArgument
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FfiArgument
impl Send for FfiArgument
impl Sync for FfiArgument
impl Unpin for FfiArgument
impl UnwindSafe for FfiArgument
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