Struct patternfly_yew::TextInputProps
source · [−]pub struct TextInputProps {Show 13 fields
pub name: String,
pub id: String,
pub value: String,
pub required: bool,
pub disabled: bool,
pub readonly: bool,
pub state: InputState,
pub icon: TextInputIcon,
pub type: String,
pub placeholder: String,
pub onchange: Callback<String>,
pub oninput: Callback<String>,
pub validator: Validator,
}Fields
name: Stringid: Stringvalue: Stringrequired: booldisabled: boolreadonly: boolstate: InputStateicon: TextInputIcontype: Stringplaceholder: Stringonchange: Callback<String>oninput: Callback<String>validator: ValidatorTrait Implementations
sourceimpl Clone for TextInputProps
impl Clone for TextInputProps
sourcefn clone(&self) -> TextInputProps
fn clone(&self) -> TextInputProps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<TextInputProps> for TextInputProps
impl PartialEq<TextInputProps> for TextInputProps
sourcefn eq(&self, other: &TextInputProps) -> bool
fn eq(&self, other: &TextInputProps) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TextInputProps) -> bool
fn ne(&self, other: &TextInputProps) -> bool
This method tests for !=.
sourceimpl Properties for TextInputProps
impl Properties for TextInputProps
impl StructuralPartialEq for TextInputProps
Auto Trait Implementations
impl !RefUnwindSafe for TextInputProps
impl !Send for TextInputProps
impl !Sync for TextInputProps
impl Unpin for TextInputProps
impl !UnwindSafe for TextInputProps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more