Struct classicube_sys::Widget
source · #[repr(C)]pub struct Widget {Show 13 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,
}
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Widget
impl RefUnwindSafe for Widget
impl !Send for Widget
impl !Sync for Widget
impl Unpin for Widget
impl UnwindSafe for Widget
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
)