Struct classicube_sys::LWidget
source ·
[−]#[repr(C)]pub struct LWidget {Show 15 fields
pub VTABLE: *const LWidgetVTABLE,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub hovered: cc_bool,
pub selected: cc_bool,
pub hidden: cc_bool,
pub tabSelectable: cc_bool,
pub horAnchor: cc_uint8,
pub verAnchor: cc_uint8,
pub xOffset: c_int,
pub yOffset: c_int,
pub OnClick: Option<unsafe extern "C" fn(widget: *mut c_void, idx: c_int)>,
pub last: Rect2D,
}Fields
VTABLE: *const LWidgetVTABLEx: c_inty: c_intwidth: c_intheight: c_inthovered: cc_boolselected: cc_booltabSelectable: cc_boolhorAnchor: cc_uint8verAnchor: cc_uint8xOffset: c_intyOffset: c_intOnClick: Option<unsafe extern "C" fn(widget: *mut c_void, idx: c_int)>last: Rect2DTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LWidget
impl UnwindSafe for LWidget
Blanket Implementations
Mutably borrows from an owned value. Read more
