Struct classicube_sys::TextWidget
source · #[repr(C)]pub struct TextWidget {Show 14 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 tex: Texture,
pub col: PackedCol,
}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§tex: Texture§col: PackedColTrait Implementations§
source§impl Debug for TextWidget
impl Debug for TextWidget
source§impl PartialEq for TextWidget
impl PartialEq for TextWidget
source§fn eq(&self, other: &TextWidget) -> bool
fn eq(&self, other: &TextWidget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TextWidget
Auto Trait Implementations§
impl RefUnwindSafe for TextWidget
impl !Send for TextWidget
impl !Sync for TextWidget
impl Unpin for TextWidget
impl UnwindSafe for TextWidget
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