Struct classicube_sys::ButtonWidget
source · #[repr(C)]pub struct ButtonWidget {Show 18 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 flags: cc_uint8,
pub horAnchor: cc_uint8,
pub verAnchor: cc_uint8,
pub xOffset: c_int,
pub yOffset: c_int,
pub MenuClick: Widget_LeftClick,
pub meta: cc_pointer,
pub tex: Texture,
pub color: PackedCol,
pub minWidth: c_int,
pub minHeight: c_int,
pub optName: *const c_char,
}
Fields§
§VTABLE: *const WidgetVTABLE
§x: c_int
§y: c_int
§width: c_int
§height: c_int
§active: cc_bool
§flags: cc_uint8
§horAnchor: cc_uint8
§verAnchor: cc_uint8
§xOffset: c_int
§yOffset: c_int
§MenuClick: Widget_LeftClick
§meta: cc_pointer
§tex: Texture
§color: PackedCol
§minWidth: c_int
§minHeight: c_int
§optName: *const c_char
Auto Trait Implementations§
impl Freeze for ButtonWidget
impl RefUnwindSafe for ButtonWidget
impl !Send for ButtonWidget
impl !Sync for ButtonWidget
impl Unpin for ButtonWidget
impl UnwindSafe for ButtonWidget
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