pub struct EditText { /* private fields */ }Expand description
An EditText allows text input
Implementations§
Source§impl EditText
impl EditText
Sourcepub fn new(
activity: &mut Activity,
text: &str,
parent: Option<i64>,
) -> Result<Self>
pub fn new( activity: &mut Activity, text: &str, parent: Option<i64>, ) -> Result<Self>
Create a new EditText (single-line by default)
Sourcepub fn new_multiline(
activity: &mut Activity,
text: &str,
parent: Option<i64>,
) -> Result<Self>
pub fn new_multiline( activity: &mut Activity, text: &str, parent: Option<i64>, ) -> Result<Self>
Create a new multi-line EditText
Auto Trait Implementations§
impl Freeze for EditText
impl RefUnwindSafe for EditText
impl Send for EditText
impl Sync for EditText
impl Unpin for EditText
impl UnwindSafe for EditText
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