pub struct StringField {
pub name: String,
pub value: String,
pub max_len: usize,
pub multiline: bool,
pub placeholder: String,
}Expand description
A text input field.
Fields§
§name: String§value: String§max_len: usize§multiline: bool§placeholder: StringImplementations§
Trait Implementations§
Source§impl Clone for StringField
impl Clone for StringField
Source§fn clone(&self) -> StringField
fn clone(&self) -> StringField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StringField
impl RefUnwindSafe for StringField
impl Send for StringField
impl Sync for StringField
impl Unpin for StringField
impl UnsafeUnpin for StringField
impl UnwindSafe for StringField
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