pub struct TextField { /* private fields */ }Expand description
A text field
Implementations§
Trait Implementations§
Source§impl WidgetExt for TextField
impl WidgetExt for TextField
Source§fn from_widget_ptr(ptr: *mut CWidget) -> Self
fn from_widget_ptr(ptr: *mut CWidget) -> Self
Constructs a new widget from a widget pointer
Source§fn underlying(&self) -> *mut c_void
fn underlying(&self) -> *mut c_void
Gets the underlying pointer (JNI jobject on android, UIView on iOS)
Source§fn background(self, col: Color) -> Selfwhere
Self: Sized,
fn background(self, col: Color) -> Selfwhere
Self: Sized,
Sets the background color
impl Send for TextField
impl Sync for TextField
Auto Trait Implementations§
impl Freeze for TextField
impl RefUnwindSafe for TextField
impl Unpin for TextField
impl UnsafeUnpin for TextField
impl UnwindSafe for TextField
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