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