pub enum TextFieldPatch {
Text {
text: String,
from_native: bool,
},
Placeholder(String),
Enabled(bool),
}Variants§
Text
Origin-tagged write (§4.4): from_native suppresses the echo back into the widget.
Placeholder(String)
Enabled(bool)
Trait Implementations§
Source§impl Clone for TextFieldPatch
impl Clone for TextFieldPatch
Source§fn clone(&self) -> TextFieldPatch
fn clone(&self) -> TextFieldPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextFieldPatch
impl Debug for TextFieldPatch
Source§impl PartialEq for TextFieldPatch
impl PartialEq for TextFieldPatch
Source§fn eq(&self, other: &TextFieldPatch) -> bool
fn eq(&self, other: &TextFieldPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextFieldPatch
Auto Trait Implementations§
impl Freeze for TextFieldPatch
impl RefUnwindSafe for TextFieldPatch
impl Send for TextFieldPatch
impl Sync for TextFieldPatch
impl Unpin for TextFieldPatch
impl UnsafeUnpin for TextFieldPatch
impl UnwindSafe for TextFieldPatch
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