pub struct FfiFunction { /* private fields */ }
Implementations§
Source§impl FfiFunction
impl FfiFunction
pub fn from_function_signature( function: FfiCodePtr, signature: &FunctionSignature, ) -> Self
pub fn build_function( function: FfiCodePtr, signature: FunctionSignature, ) -> Function
pub fn new(function: FfiCodePtr) -> Self
pub fn with_result(self, type_: TypeHandle) -> Self
pub fn with_argument(self, type_: TypeHandle) -> Self
pub fn result(&mut self, type_: TypeHandle)
pub fn argument(&mut self, type_: TypeHandle)
Trait Implementations§
Source§impl Clone for FfiFunction
impl Clone for FfiFunction
Source§fn clone(&self) -> FfiFunction
fn clone(&self) -> FfiFunction
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 FfiFunction
impl Debug for FfiFunction
impl Send for FfiFunction
impl Sync for FfiFunction
Auto Trait Implementations§
impl Freeze for FfiFunction
impl RefUnwindSafe for FfiFunction
impl Unpin for FfiFunction
impl UnwindSafe for FfiFunction
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