#[repr(C)]
pub struct InputWidget {
Show 35 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 disabled: cc_bool, pub horAnchor: cc_uint8, pub verAnchor: cc_uint8, pub xOffset: c_int, pub yOffset: c_int, pub MenuClick: Widget_LeftClick, pub font: *mut FontDesc, pub GetMaxLines: Option<unsafe extern "C" fn() -> c_int>, pub RemakeTexture: Option<unsafe extern "C" fn(elem: *mut c_void)>, pub OnPressedEnter: Option<unsafe extern "C" fn(elem: *mut c_void)>, pub AllowedChar: Option<unsafe extern "C" fn(elem: *mut c_void, c: c_char) -> cc_bool>, pub OnTextChanged: Option<unsafe extern "C" fn(elem: *mut c_void)>, pub text: cc_string, pub lines: [cc_string; 3], pub lineWidths: [c_int; 3], pub lineHeight: c_int, pub inputTex: Texture, pub prefixWidth: c_int, pub convertPercents: cc_bool, pub padding: cc_uint8, pub showCaret: cc_bool, pub caretWidth: c_int, pub caretX: c_int, pub caretY: c_int, pub caretPos: c_int, pub caretOffset: c_int, pub caretCol: PackedCol, pub caretTex: Texture, pub caretAccumulator: f64,
}

Fields

VTABLE: *const WidgetVTABLEx: c_inty: c_intwidth: c_intheight: c_intactive: cc_booldisabled: cc_boolhorAnchor: cc_uint8verAnchor: cc_uint8xOffset: c_intyOffset: c_intMenuClick: Widget_LeftClickfont: *mut FontDescGetMaxLines: Option<unsafe extern "C" fn() -> c_int>RemakeTexture: Option<unsafe extern "C" fn(elem: *mut c_void)>OnPressedEnter: Option<unsafe extern "C" fn(elem: *mut c_void)>AllowedChar: Option<unsafe extern "C" fn(elem: *mut c_void, c: c_char) -> cc_bool>OnTextChanged: Option<unsafe extern "C" fn(elem: *mut c_void)>text: cc_stringlines: [cc_string; 3]lineWidths: [c_int; 3]lineHeight: c_intinputTex: TextureprefixWidth: c_intconvertPercents: cc_boolpadding: cc_uint8showCaret: cc_boolcaretWidth: c_intcaretX: c_intcaretY: c_intcaretPos: c_intcaretOffset: c_intcaretCol: PackedColcaretTex: TexturecaretAccumulator: f64

Trait Implementations

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 !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.