#[repr(C)]pub struct ImportedFunc { /* private fields */ }Expand description
An imported function is a function pointer associated to a function context.
Implementations§
Source§impl ImportedFunc
impl ImportedFunc
Sourcepub const fn offset_func() -> u8
pub const fn offset_func() -> u8
Offset to the func field.
Sourcepub const fn offset_func_ctx() -> u8
pub const fn offset_func_ctx() -> u8
Offset to the func_ctx field.
Trait Implementations§
Source§impl Clone for ImportedFunc
impl Clone for ImportedFunc
Source§fn clone(&self) -> ImportedFunc
fn clone(&self) -> ImportedFunc
Returns a duplicate 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 ImportedFunc
impl Debug for ImportedFunc
impl Send for ImportedFunc
Auto Trait Implementations§
impl Freeze for ImportedFunc
impl !RefUnwindSafe for ImportedFunc
impl !Sync for ImportedFunc
impl Unpin for ImportedFunc
impl !UnwindSafe for ImportedFunc
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