Struct material_yew::text_inputs::TextFieldProps [−][src]
pub struct TextFieldProps {}Show fields
pub open: bool, pub value: Cow<'static, str>, pub field_type: TextFieldType, pub label: Cow<'static, str>, pub placeholder: Cow<'static, str>, pub prefix: Cow<'static, str>, pub suffix: Cow<'static, str>, pub icon: Cow<'static, str>, pub icon_trailing: Cow<'static, str>, pub disabled: bool, pub char_counter: bool, pub outlined: bool, pub helper: Cow<'static, str>, pub helper_persistent: bool, pub required: bool, pub max_length: Option<u64>, pub validation_message: Cow<'static, str>, pub pattern: Cow<'static, str>, pub min: Cow<'static, str>, pub max: Cow<'static, str>, pub size: Option<i64>, pub step: Option<i64>, pub auto_validate: bool, pub validity_transform: Option<ValidityTransform>, pub validate_on_initial_render: bool, pub oninput: Callback<InputData>, pub name: Cow<'static, str>,
Expand description
Fields
open: bool
value: Cow<'static, str>
field_type: TextFieldType
label: Cow<'static, str>
placeholder: Cow<'static, str>
prefix: Cow<'static, str>
suffix: Cow<'static, str>
icon: Cow<'static, str>
icon_trailing: Cow<'static, str>
disabled: bool
char_counter: bool
outlined: bool
helper: Cow<'static, str>
helper_persistent: bool
required: bool
max_length: Option<u64>
validation_message: Cow<'static, str>
pattern: Cow<'static, str>
min: Cow<'static, str>
Type: number | string
so I’ll leave it as a string
max: Cow<'static, str>
Type: number | string
so I’ll leave it as a string
size: Option<i64>
step: Option<i64>
auto_validate: bool
validity_transform: Option<ValidityTransform>
validate_on_initial_render: bool
oninput: Callback<InputData>
name: Cow<'static, str>
Trait Implementations
impl Clone for TextFieldProps
[src]
impl Clone for TextFieldProps
[src]fn clone(&self) -> TextFieldProps
[src]
fn clone(&self) -> TextFieldProps
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Properties for TextFieldProps
[src]
impl Properties for TextFieldProps
[src]Auto Trait Implementations
impl !RefUnwindSafe for TextFieldProps
impl !Send for TextFieldProps
impl !Sync for TextFieldProps
impl Unpin for TextFieldProps
impl !UnwindSafe for TextFieldProps
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>,
[src]
impl<T, V> IntoOptPropValue<V> for T where
T: IntoPropValue<Option<V>>,
[src]pub fn into_opt_prop_value(self) -> Option<V>
[src]
pub fn into_opt_prop_value(self) -> Option<V>
[src]Convert self
to an optional value of a Properties
struct.
impl<T> IntoPropValue<Option<T>> for T
[src]
impl<T> IntoPropValue<Option<T>> for T
[src]pub fn into_prop_value(self) -> Option<T>
[src]
pub fn into_prop_value(self) -> Option<T>
[src]Convert self
to a value of a Properties
struct.
impl<T> IntoPropValue<T> for T
[src]
impl<T> IntoPropValue<T> for T
[src]pub fn into_prop_value(self) -> T
[src]
pub fn into_prop_value(self) -> T
[src]Convert self
to a value of a Properties
struct.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more