pub struct SearchInput { /* private fields */ }Expand description
Search input with built-in search icon
Implementations§
Source§impl SearchInput
impl SearchInput
Sourcepub fn placeholder(self, placeholder: impl Into<String>) -> Self
pub fn placeholder(self, placeholder: impl Into<String>) -> Self
Set placeholder text
Sourcepub fn show(self, ui: &mut Ui, text: &mut String) -> InputResponse
pub fn show(self, ui: &mut Ui, text: &mut String) -> InputResponse
Show the search input
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchInput
impl RefUnwindSafe for SearchInput
impl Send for SearchInput
impl Sync for SearchInput
impl Unpin for SearchInput
impl UnsafeUnpin for SearchInput
impl UnwindSafe for SearchInput
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