pub struct SelectProps {
pub size: Size,
pub disabled: bool,
pub required: bool,
pub placeholder: Option<String>,
pub open: bool,
pub class: Option<String>,
pub aria_label: Option<String>,
pub id: Option<String>,
}Expand description
Properties for the styled Select trigger.
Fields§
§size: Size§disabled: bool§required: bool§placeholder: Option<String>§open: bool§class: Option<String>§aria_label: Option<String>§id: Option<String>Trait Implementations§
Source§impl Clone for SelectProps
impl Clone for SelectProps
Source§fn clone(&self) -> SelectProps
fn clone(&self) -> SelectProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Default for SelectProps
impl Default for SelectProps
Source§fn default() -> SelectProps
fn default() -> SelectProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for SelectProps
impl PartialEq for SelectProps
Source§fn eq(&self, other: &SelectProps) -> bool
fn eq(&self, other: &SelectProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectProps
Auto Trait Implementations§
impl Freeze for SelectProps
impl RefUnwindSafe for SelectProps
impl Send for SelectProps
impl Sync for SelectProps
impl Unpin for SelectProps
impl UnsafeUnpin for SelectProps
impl UnwindSafe for SelectProps
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