[][src]Enum zydis::formatter::Hook

pub enum Hook {
    PreInstruction(FormatterFunc),
    PostInstruction(FormatterFunc),
    PreOperand(FormatterFunc),
    PostOperand(FormatterFunc),
    FormatInstruction(FormatterFunc),
    FormatOperandReg(FormatterFunc),
    FormatOperandMem(FormatterFunc),
    FormatOperandPtr(FormatterFunc),
    FormatOperandImm(FormatterFunc),
    PrintMnemonic(FormatterFunc),
    PrintRegister(FormatterRegisterFunc),
    PrintAddressAbs(FormatterFunc),
    PrintAddressRel(FormatterFunc),
    PrintDisp(FormatterFunc),
    PrintImm(FormatterFunc),
    PrintTypecast(FormatterFunc),
    PrintSegment(FormatterFunc),
    PrintPrefixes(FormatterFunc),
    PrintDecorator(FormatterDecoratorFunc),
}

Variants

PreInstruction(FormatterFunc)
PostInstruction(FormatterFunc)
PreOperand(FormatterFunc)
PostOperand(FormatterFunc)
FormatInstruction(FormatterFunc)
FormatOperandReg(FormatterFunc)
FormatOperandMem(FormatterFunc)
FormatOperandPtr(FormatterFunc)
FormatOperandImm(FormatterFunc)
PrintMnemonic(FormatterFunc)
PrintRegister(FormatterRegisterFunc)
PrintAddressAbs(FormatterFunc)
PrintAddressRel(FormatterFunc)
PrintDisp(FormatterFunc)
PrintImm(FormatterFunc)
PrintTypecast(FormatterFunc)
PrintSegment(FormatterFunc)
PrintPrefixes(FormatterFunc)
PrintDecorator(FormatterDecoratorFunc)

Implementations

impl Hook[src]

pub fn to_id(&self) -> FormatterFunction[src]

pub unsafe fn to_raw(&self) -> *const c_void[src]

pub unsafe fn from_raw(id: FormatterFunction, cb: *const c_void) -> Hook[src]

Trait Implementations

impl Clone for Hook[src]

Auto Trait Implementations

impl RefUnwindSafe for Hook

impl Send for Hook

impl Sync for Hook

impl Unpin for Hook

impl UnwindSafe for Hook

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.