#[repr(C)]
pub struct WidgetVTABLE { pub Render: Option<unsafe extern "C" fn(elem: *mut c_void, delta: f64)>, pub Free: Option<unsafe extern "C" fn(elem: *mut c_void)>, pub Reposition: Option<unsafe extern "C" fn(elem: *mut c_void)>, pub HandlesKeyDown: Option<unsafe extern "C" fn(elem: *mut c_void, key: c_int) -> c_int>, pub OnInputUp: Option<unsafe extern "C" fn(elem: *mut c_void, key: c_int)>, pub HandlesMouseScroll: Option<unsafe extern "C" fn(elem: *mut c_void, delta: f32) -> c_int>, pub HandlesPointerDown: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int) -> c_int>, pub OnPointerUp: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int)>, pub HandlesPointerMove: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int) -> c_int>, pub BuildMesh: Option<unsafe extern "C" fn(elem: *mut c_void, vertices: *mut *mut VertexTextured)>, pub Render2: Option<unsafe extern "C" fn(elem: *mut c_void, offset: c_int) -> c_int>, }

Fields

Render: Option<unsafe extern "C" fn(elem: *mut c_void, delta: f64)>Free: Option<unsafe extern "C" fn(elem: *mut c_void)>Reposition: Option<unsafe extern "C" fn(elem: *mut c_void)>HandlesKeyDown: Option<unsafe extern "C" fn(elem: *mut c_void, key: c_int) -> c_int>OnInputUp: Option<unsafe extern "C" fn(elem: *mut c_void, key: c_int)>HandlesMouseScroll: Option<unsafe extern "C" fn(elem: *mut c_void, delta: f32) -> c_int>HandlesPointerDown: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int) -> c_int>OnPointerUp: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int)>HandlesPointerMove: Option<unsafe extern "C" fn(elem: *mut c_void, id: c_int, x: c_int, y: c_int) -> c_int>BuildMesh: Option<unsafe extern "C" fn(elem: *mut c_void, vertices: *mut *mut VertexTextured)>Render2: Option<unsafe extern "C" fn(elem: *mut c_void, offset: c_int) -> c_int>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.