Struct ybc::SelectProps
source · pub struct SelectProps {
pub name: String,
pub value: String,
pub update: Callback<String>,
pub children: Children,
pub classes: Classes,
pub size: Option<Size>,
pub loading: bool,
pub disabled: bool,
}
Fields§
§name: String
The name
attribute for this form element.
value: String
The controlled value of this form element.
update: Callback<String>
The callback to be used for propagating changes to this element’s value.
children: Children
The option
& optgroup
tags of this select component.
classes: Classes
§size: Option<Size>
The size of this component.
loading: bool
Display a loading spinner within this component.
disabled: bool
Disable this component.
Trait Implementations§
source§impl Clone for SelectProps
impl Clone for SelectProps
source§fn clone(&self) -> SelectProps
fn clone(&self) -> SelectProps
Returns a copy 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 Debug for SelectProps
impl Debug for SelectProps
source§impl PartialEq<SelectProps> for SelectProps
impl PartialEq<SelectProps> for SelectProps
source§fn eq(&self, other: &SelectProps) -> bool
fn eq(&self, other: &SelectProps) -> bool
source§impl Properties for SelectProps
impl Properties for SelectProps
impl StructuralPartialEq for SelectProps
Auto Trait Implementations§
impl !RefUnwindSafe for SelectProps
impl !Send for SelectProps
impl !Sync for SelectProps
impl Unpin for SelectProps
impl !UnwindSafe for SelectProps
Blanket Implementations§
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.