pub trait Function: Sealed + Function { }Expand description
A function pointer type that can be a Hook target and
detour.
Implemented for safe and unsafe function pointers with up to 14 arguments
in every calling convention the platform has, such as extern "C",
extern "system", and on x86 extern "fastcall" and extern "thiscall".
Signatures with borrows, such as fn(&str), aren’t supported. The trait is
sealed.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".