#[repr(C)]
pub struct LLabel {Show 18 fields
pub VTABLE: *const LWidgetVTABLE,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub hovered: cc_bool,
pub selected: cc_bool,
pub hidden: cc_bool,
pub tabSelectable: cc_bool,
pub horAnchor: cc_uint8,
pub verAnchor: cc_uint8,
pub xOffset: c_int,
pub yOffset: c_int,
pub OnClick: Option<unsafe extern "C" fn(widget: *mut c_void, idx: c_int)>,
pub last: Rect2D,
pub font: *mut FontDesc,
pub text: cc_string,
pub _textBuffer: [c_char; 64],
}
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.