#[repr(C)]
pub struct LInput {Show 25 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 minWidth: c_int,
pub hintText: *const c_char,
pub type_: cc_uint8,
pub ClipboardFilter: Option<unsafe extern "C" fn(str_: *mut cc_string)>,
pub TextChanged: Option<unsafe extern "C" fn(w: *mut LInput)>,
pub TextFilter: Option<unsafe extern "C" fn(c: c_char) -> cc_bool>,
pub caretPos: c_int,
pub text: cc_string,
pub _textHeight: c_int,
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.