pub struct FnPtr {
f: *const c_void,
is_loaded: bool,
}
Fields§
§f: *const c_void
The function pointer that will be used when calling the function.
is_loaded: bool
True if the pointer points to a real function, false if points to a panic!
fn.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FnPtr
impl RefUnwindSafe for FnPtr
impl !Send for FnPtr
impl !Sync for FnPtr
impl Unpin for FnPtr
impl UnwindSafe for FnPtr
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
)