#[repr(C)]
pub struct ButtonWidget {
Show 19 fields pub VTABLE: *const WidgetVTABLE, pub x: c_int, pub y: c_int, pub width: c_int, pub height: c_int, pub active: cc_bool, pub disabled: cc_bool, pub horAnchor: cc_uint8, pub verAnchor: cc_uint8, pub xOffset: c_int, pub yOffset: c_int, pub MenuClick: Widget_LeftClick, pub tex: Texture, pub col: PackedCol, pub minWidth: c_int, pub minHeight: c_int, pub optName: *const c_char, pub GetValue: Button_Get, pub SetValue: Button_Set,
}

Fields

VTABLE: *const WidgetVTABLEx: c_inty: c_intwidth: c_intheight: c_intactive: cc_booldisabled: cc_boolhorAnchor: cc_uint8verAnchor: cc_uint8xOffset: c_intyOffset: c_intMenuClick: Widget_LeftClicktex: Texturecol: PackedColminWidth: c_intminHeight: c_intoptName: *const c_charGetValue: Button_GetSetValue: Button_Set

Trait Implementations

Formats the value using the given formatter. 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 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.