Struct classicube_sys::TableWidget
source · #[repr(C)]pub struct TableWidget {Show 41 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 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 everCreated: cc_bool,
pub scale: f32,
pub padXAcc: f32,
pub padYAcc: 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
§meta: cc_pointer
§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
§everCreated: cc_bool
§scale: f32
§padXAcc: f32
§padYAcc: 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_int
Trait 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 moreimpl Copy for TableWidget
Auto Trait Implementations§
impl Freeze for TableWidget
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)