Struct classicube_sys::LCheckbox
source ·
[−]#[repr(C)]pub struct LCheckbox {Show 16 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,
pub value: cc_bool,
}
Fields
VTABLE: *const LWidgetVTABLE
x: c_int
y: c_int
width: c_int
height: c_int
hovered: cc_bool
selected: cc_bool
tabSelectable: cc_bool
horAnchor: cc_uint8
verAnchor: cc_uint8
xOffset: c_int
yOffset: c_int
OnClick: Option<unsafe extern "C" fn(widget: *mut c_void, idx: c_int)>
last: Rect2D
value: cc_bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LCheckbox
impl UnwindSafe for LCheckbox
Blanket Implementations
Mutably borrows from an owned value. Read more