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§
source§impl Clone for WidgetVTABLE
impl Clone for WidgetVTABLE
source§fn clone(&self) -> WidgetVTABLE
fn clone(&self) -> WidgetVTABLE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WidgetVTABLE
impl Debug for WidgetVTABLE
source§impl Hash for WidgetVTABLE
impl Hash for WidgetVTABLE
source§impl PartialEq for WidgetVTABLE
impl PartialEq for WidgetVTABLE
source§fn eq(&self, other: &WidgetVTABLE) -> bool
fn eq(&self, other: &WidgetVTABLE) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for WidgetVTABLE
impl Eq for WidgetVTABLE
impl StructuralPartialEq for WidgetVTABLE
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more