pub struct InputBarProps {
pub value: String,
pub on_change: HandlerMut<'static, String>,
pub on_submit: HandlerMut<'static, String>,
pub gateway_icon: String,
pub gateway_label: String,
pub gateway_color: Option<Color>,
pub has_focus: bool,
}Fields§
§value: String§on_change: HandlerMut<'static, String>§on_submit: HandlerMut<'static, String>§gateway_icon: String§gateway_label: String§gateway_color: Option<Color>§has_focus: boolWhen false, the TextInput won’t capture keystrokes (e.g. dialog open).
Trait Implementations§
Source§impl Default for InputBarProps
impl Default for InputBarProps
Source§fn default() -> InputBarProps
fn default() -> InputBarProps
Returns the “default value” for a type. Read more
impl Props for InputBarProps
Auto Trait Implementations§
impl Freeze for InputBarProps
impl !RefUnwindSafe for InputBarProps
impl Send for InputBarProps
impl Sync for InputBarProps
impl Unpin for InputBarProps
impl UnsafeUnpin for InputBarProps
impl !UnwindSafe for InputBarProps
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