Trait detour::Function[][src]

pub unsafe trait Function: Sized + Copy + Sync + 'static {
    type Arguments;
    type Output;
    unsafe fn from_ptr(ptr: *const ()) -> Self;
fn to_ptr(&self) -> *const (); }
Expand description

Trait representing a function that can be used as a target or detour for detouring.

Associated Types

The argument types as a tuple.

The return type.

Required methods

Constructs a Function from an untyped pointer.

Returns an untyped pointer for this function.

Implementations on Foreign Types

Implementors