Struct classicube_sys::HotbarWidget

source ·
#[repr(C)]
pub struct HotbarWidget {
Show 27 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 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, pub state: [c_int; 27], pub verticesCount: c_int, pub touchId: [c_int; 8], pub touchTime: [f32; 8],
}

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§selTex: Texture§backTex: Texture§slotWidth: f32§selWidth: f32§slotXOffset: f32§elemSize: f32§scrollAcc: f32§scale: f32§altHandled: cc_bool§ellipsisTex: Texture§state: [c_int; 27]§verticesCount: c_int§touchId: [c_int; 8]§touchTime: [f32; 8]

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, 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.