pub trait Function {
// Required method
unsafe fn from_ptr(ptr: *const u8) -> Self;
}Expand description
A function that is exported from a Module.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.