pub struct Input<'a> { /* private fields */ }Implementations§
Source§impl<'a> Input<'a>
impl<'a> Input<'a>
pub fn new(value: &'a mut String) -> Self
pub fn placeholder(self, p: impl Into<String>) -> Self
pub fn width(self, w: f32) -> Self
pub fn password(self, p: bool) -> Self
pub fn disabled(self, d: bool) -> Self
pub fn size(self, s: Size) -> Self
pub fn small(self) -> Self
pub fn large(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Input<'a>
impl<'a> RefUnwindSafe for Input<'a>
impl<'a> Send for Input<'a>
impl<'a> Sync for Input<'a>
impl<'a> Unpin for Input<'a>
impl<'a> UnsafeUnpin for Input<'a>
impl<'a> !UnwindSafe for Input<'a>
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