pub struct FnPtr {
f: *const c_void,
is_loaded: bool,
}
The function pointer that will be used when calling the function.
True if the pointer points to a real function, false if points to a panic!
fn.
Creates a FnPtr
from a load attempt.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.