Struct detour::Detour [] [src]

pub struct Detour { /* fields omitted */ }

An architecture-independent implementation of a base detour.

This class is never instantiated by itself, it merely exposes an API available through it's descendants.

Methods

impl Detour
[src]

[src]

Enables or disables the detour.

[src]

Enables the detour.

[src]

Disables the detour.

[src]

Returns whether the detour is enabled or not.

[src]

Returns a reference to the generated trampoline.

Trait Implementations

impl Drop for Detour
[src]

[src]

Disables the detour, if enabled.

impl Debug for Detour
[src]

[src]

Output whether the detour is enabled or not.

impl Send for Detour
[src]

impl Sync for Detour
[src]