Struct freya_components::InputProps
source · pub struct InputProps<'a> {
pub theme: Option<InputThemeWith>,
pub value: String,
pub onchange: EventHandler<'a, String>,
pub mode: InputMode,
}
Expand description
Input
component properties.
Fields§
§theme: Option<InputThemeWith>
Theme override.
value: String
Current value of the Input
onchange: EventHandler<'a, String>
Handler for the onchange
event.
mode: InputMode
Display mode for Input. By default, input text is shown as it is provided.
Implementations§
source§impl<'a> InputProps<'a>
impl<'a> InputProps<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for InputProps<'a>
impl<'a> !Send for InputProps<'a>
impl<'a> !Sync for InputProps<'a>
impl<'a> Unpin for InputProps<'a>
impl<'a> !UnwindSafe for InputProps<'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