Struct classicube_sys::WidgetVTABLE
source ·
[−]#[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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WidgetVTABLE
impl Send for WidgetVTABLE
impl Sync for WidgetVTABLE
impl Unpin for WidgetVTABLE
impl UnwindSafe for WidgetVTABLE
Blanket Implementations
Mutably borrows from an owned value. Read more