pub struct HookInfo {
    pub fn_name: &'static str,
    pub name: Option<String>,
    pub offset: Option<u64>,
    pub symbol: Option<String>,
    pub inline: bool,
}

Fields

fn_name: &'static str

Name of the function being used as the override

name: Option<String>

User-given name of what the hook represents

offset: Option<u64>

Offset of where to install the hook

symbol: Option<String>

Symbol of where to install the hook

inline: bool

Whether or not this is an inline hook

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.