pub struct InputProps {
pub label: String,
pub on_input: Callback<String>,
pub state: InputState,
pub value: String,
pub input_type: String,
pub validation_message: String,
pub placeholder: String,
pub disabled: bool,
}Fields§
§label: String§on_input: Callback<String>§state: InputState§value: String§input_type: String§validation_message: String§placeholder: String§disabled: boolTrait Implementations§
Source§impl Clone for InputProps
impl Clone for InputProps
Source§fn clone(&self) -> InputProps
fn clone(&self) -> InputProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for InputProps
impl PartialEq for InputProps
Source§impl Properties for InputProps
impl Properties for InputProps
impl StructuralPartialEq for InputProps
Auto Trait Implementations§
impl Freeze for InputProps
impl !RefUnwindSafe for InputProps
impl !Send for InputProps
impl !Sync for InputProps
impl Unpin for InputProps
impl !UnwindSafe for InputProps
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