Trait minhook::function::HookableWith
[−]
[src]
pub unsafe trait HookableWith<D: Function>: Function { }
Marker trait indicating that the function Self
can be hooked by the given function D
.
Implementors
impl<T: Function> HookableWith<T> for T
impl<Ret: 'static> HookableWith<fn() -> Ret> for unsafe fn() -> Ret
impl<Ret: 'static> HookableWith<extern "cdecl" fn() -> Ret> for unsafe extern "cdecl" fn() -> Ret
impl<Ret: 'static> HookableWith<extern "stdcall" fn() -> Ret> for unsafe extern "stdcall" fn() -> Ret
impl<Ret: 'static> HookableWith<extern "fastcall" fn() -> Ret> for unsafe extern "fastcall" fn() -> Ret
impl<Ret: 'static> HookableWith<extern "win64" fn() -> Ret> for unsafe extern "win64" fn() -> Ret
impl<Ret: 'static> HookableWith<extern fn() -> Ret> for unsafe extern fn() -> Ret
impl<Ret: 'static> HookableWith<extern "system" fn() -> Ret> for unsafe extern "system" fn() -> Ret
impl<Ret: 'static, A: 'static> HookableWith<fn(A) -> Ret> for unsafe fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern "cdecl" fn(A) -> Ret> for unsafe extern "cdecl" fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern "stdcall" fn(A) -> Ret> for unsafe extern "stdcall" fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern "fastcall" fn(A) -> Ret> for unsafe extern "fastcall" fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern "win64" fn(A) -> Ret> for unsafe extern "win64" fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern fn(A) -> Ret> for unsafe extern fn(A) -> Ret
impl<Ret: 'static, A: 'static> HookableWith<extern "system" fn(A) -> Ret> for unsafe extern "system" fn(A) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<fn(A, B) -> Ret> for unsafe fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern "cdecl" fn(A, B) -> Ret> for unsafe extern "cdecl" fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern "stdcall" fn(A, B) -> Ret> for unsafe extern "stdcall" fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern "fastcall" fn(A, B) -> Ret> for unsafe extern "fastcall" fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern "win64" fn(A, B) -> Ret> for unsafe extern "win64" fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern fn(A, B) -> Ret> for unsafe extern fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static> HookableWith<extern "system" fn(A, B) -> Ret> for unsafe extern "system" fn(A, B) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<fn(A, B, C) -> Ret> for unsafe fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern "cdecl" fn(A, B, C) -> Ret> for unsafe extern "cdecl" fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern "stdcall" fn(A, B, C) -> Ret> for unsafe extern "stdcall" fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern "fastcall" fn(A, B, C) -> Ret> for unsafe extern "fastcall" fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern "win64" fn(A, B, C) -> Ret> for unsafe extern "win64" fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern fn(A, B, C) -> Ret> for unsafe extern fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static> HookableWith<extern "system" fn(A, B, C) -> Ret> for unsafe extern "system" fn(A, B, C) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<fn(A, B, C, D) -> Ret> for unsafe fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern "cdecl" fn(A, B, C, D) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern "stdcall" fn(A, B, C, D) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern "fastcall" fn(A, B, C, D) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern "win64" fn(A, B, C, D) -> Ret> for unsafe extern "win64" fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern fn(A, B, C, D) -> Ret> for unsafe extern fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> HookableWith<extern "system" fn(A, B, C, D) -> Ret> for unsafe extern "system" fn(A, B, C, D) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<fn(A, B, C, D, E) -> Ret> for unsafe fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern "win64" fn(A, B, C, D, E) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern fn(A, B, C, D, E) -> Ret> for unsafe extern fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> HookableWith<extern "system" fn(A, B, C, D, E) -> Ret> for unsafe extern "system" fn(A, B, C, D, E) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<fn(A, B, C, D, E, F) -> Ret> for unsafe fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern fn(A, B, C, D, E, F) -> Ret> for unsafe extern fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<fn(A, B, C, D, E, F, G) -> Ret> for unsafe fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G, H) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G, H) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G, H, I) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G, H, I) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G, H, I, J) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G, H, I, J) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G, H, I, J, K) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "cdecl" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "stdcall" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "fastcall" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern "win64" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "win64" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret
impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I: 'static, J: 'static, K: 'static, L: 'static> HookableWith<extern "system" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret> for unsafe extern "system" fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Ret