pub struct MultiSelectProps {
pub label: String,
pub on_select: Callback<MultiSelectItem>,
pub on_deselect: Callback<MultiSelectItem>,
pub on_filter: Callback<String>,
pub state: MultiSelectState,
pub validation_message: String,
pub placeholder: String,
pub disabled: bool,
pub options: Vec<MultiSelectItem>,
pub selected_items: Vec<MultiSelectItem>,
}Fields§
§label: String§on_select: Callback<MultiSelectItem>§on_deselect: Callback<MultiSelectItem>§on_filter: Callback<String>§state: MultiSelectState§validation_message: String§placeholder: String§disabled: bool§options: Vec<MultiSelectItem>§selected_items: Vec<MultiSelectItem>Trait Implementations§
Source§impl Clone for MultiSelectProps
impl Clone for MultiSelectProps
Source§fn clone(&self) -> MultiSelectProps
fn clone(&self) -> MultiSelectProps
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 MultiSelectProps
impl PartialEq for MultiSelectProps
Source§impl Properties for MultiSelectProps
impl Properties for MultiSelectProps
impl StructuralPartialEq for MultiSelectProps
Auto Trait Implementations§
impl Freeze for MultiSelectProps
impl !RefUnwindSafe for MultiSelectProps
impl !Send for MultiSelectProps
impl !Sync for MultiSelectProps
impl Unpin for MultiSelectProps
impl !UnwindSafe for MultiSelectProps
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