Struct classicube_sys::TableWidget
source · #[repr(C)]pub struct TableWidget {Show 37 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 blocksCount: c_int,
pub blocksPerRow: c_int,
pub rowsTotal: c_int,
pub rowsVisible: c_int,
pub lastCreatedIndex: c_int,
pub selectedIndex: c_int,
pub cellSizeX: c_int,
pub cellSizeY: c_int,
pub normBlockSize: f32,
pub selBlockSize: f32,
pub vb: GfxResourceID,
pub pendingClose: cc_bool,
pub scale: f32,
pub blocks: [BlockID; 768],
pub scroll: ScrollbarWidget,
pub lastX: c_int,
pub lastY: c_int,
pub paddingX: c_int,
pub paddingL: c_int,
pub paddingR: c_int,
pub paddingT: c_int,
pub paddingB: c_int,
pub UpdateTitle: Option<unsafe extern "C" fn(block: BlockID)>,
pub state: [c_int; 240],
pub verticesCount: c_int,
}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§blocksCount: c_int§blocksPerRow: c_int§rowsTotal: c_int§rowsVisible: c_int§lastCreatedIndex: c_int§selectedIndex: c_int§cellSizeX: c_int§cellSizeY: c_int§normBlockSize: f32§selBlockSize: f32§vb: GfxResourceID§pendingClose: cc_bool§scale: f32§blocks: [BlockID; 768]§scroll: ScrollbarWidget§lastX: c_int§lastY: c_int§paddingX: c_int§paddingL: c_int§paddingR: c_int§paddingT: c_int§paddingB: c_int§UpdateTitle: Option<unsafe extern "C" fn(block: BlockID)>§state: [c_int; 240]§verticesCount: c_intTrait Implementations§
source§impl Clone for TableWidget
impl Clone for TableWidget
source§fn clone(&self) -> TableWidget
fn clone(&self) -> TableWidget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TableWidget
impl Debug for TableWidget
source§impl PartialEq for TableWidget
impl PartialEq for TableWidget
source§fn eq(&self, other: &TableWidget) -> bool
fn eq(&self, other: &TableWidget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TableWidget
impl StructuralPartialEq for TableWidget
Auto Trait Implementations§
impl RefUnwindSafe for TableWidget
impl !Send for TableWidget
impl !Sync for TableWidget
impl Unpin for TableWidget
impl UnwindSafe for TableWidget
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