Struct classicube_sys::HotbarWidget
source ·
[−]#[repr(C)]pub struct HotbarWidget {Show 22 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 selTex: Texture,
pub backTex: Texture,
pub slotWidth: f32,
pub selWidth: f32,
pub slotXOffset: f32,
pub elemSize: f32,
pub scrollAcc: f32,
pub scale: f32,
pub altHandled: cc_bool,
pub ellipsisTex: Texture,
}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_LeftClickselTex: TexturebackTex: TextureslotWidth: f32selWidth: f32slotXOffset: f32elemSize: f32scrollAcc: f32scale: f32altHandled: cc_boolellipsisTex: TextureTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
