pub struct TextField<'a> {
pub value: &'a str,
pub align: Align,
pub multiline: bool,
pub password: bool,
pub max_len: Option<u32>,
pub comb: bool,
pub read_only: bool,
pub required: bool,
pub style: FieldStyle,
}Expand description
a text field
Fields§
§value: &'a str§align: Align§multiline: bool§password: bool§max_len: Option<u32>§comb: boolmax_len cells of one character each
read_only: bool§required: bool§style: FieldStyleTrait Implementations§
impl<'a> Copy for TextField<'a>
impl<'a> StructuralPartialEq for TextField<'a>
Auto Trait Implementations§
impl<'a> Forget for TextField<'a>
impl<'a> Freeze for TextField<'a>
impl<'a> Move for TextField<'a>
impl<'a> RefUnwindSafe for TextField<'a>
impl<'a> Send for TextField<'a>
impl<'a> Sync for TextField<'a>
impl<'a> Unpin for TextField<'a>
impl<'a> UnsafeUnpin for TextField<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for TextField<'a>where
&'a str: UnwindSafe,
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