#[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_int

Trait Implementations§

source§

impl Clone for TableWidget

source§

fn clone(&self) -> TableWidget

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TableWidget

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for TableWidget

source§

fn eq(&self, other: &TableWidget) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for TableWidget

source§

impl StructuralPartialEq for TableWidget

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.