logo
#[repr(C)]
pub struct SCN_ATTACH_BEHAVIOR { pub code: UINT, pub hwnd: HWINDOW, pub element: HELEMENT, pub name: LPCSTR, pub elementProc: ElementEventProc, pub elementTag: LPVOID, }
Expand description

This notification is sent on parsing the document and while processing elements having non empty behavior: style attribute value.

Fields

code: UINT

SC_ATTACH_BEHAVIOR here.

hwnd: HWINDOW

HWINDOW of the window this callback was attached to.

element: HELEMENT

[in] target DOM element handle

name: LPCSTR

[in] zero terminated string, string appears as value of CSS behavior: attribute.

elementProc: ElementEventProc

[out] pointer to ElementEventProc function.

elementTag: LPVOID

[out] tag value, passed as is into pointer ElementEventProc function.

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.