pub struct DualListSelectorListWrapperProps<T: ItemRenderer> {
pub class: Classes,
pub options: Vec<T>,
pub selected_options: Vec<usize>,
pub onoptionselect: Callback<OnOptionSelectArgsNoChosen>,
pub disabled: bool,
pub children: Children,
}
Fields§
§class: Classes
Additional classes applied to the dual list selector.
options: Vec<T>
Options to list in the pane.
selected_options: Vec<usize>
Options currently selected in the pane.
onoptionselect: Callback<OnOptionSelectArgsNoChosen>
Callback for when an option is selected. Optionally used only when options prop is provided.
disabled: bool
Flag indicating whether the component is disabled.
children: Children
Anything that can be rendered inside of the list.
Trait Implementations§
source§impl<T: Clone + ItemRenderer> Clone for DualListSelectorListWrapperProps<T>
impl<T: Clone + ItemRenderer> Clone for DualListSelectorListWrapperProps<T>
source§fn clone(&self) -> DualListSelectorListWrapperProps<T>
fn clone(&self) -> DualListSelectorListWrapperProps<T>
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<T: Debug + ItemRenderer> Debug for DualListSelectorListWrapperProps<T>
impl<T: Debug + ItemRenderer> Debug for DualListSelectorListWrapperProps<T>
source§impl<T: PartialEq + ItemRenderer> PartialEq for DualListSelectorListWrapperProps<T>
impl<T: PartialEq + ItemRenderer> PartialEq for DualListSelectorListWrapperProps<T>
source§fn eq(&self, other: &DualListSelectorListWrapperProps<T>) -> bool
fn eq(&self, other: &DualListSelectorListWrapperProps<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T: ItemRenderer> Properties for DualListSelectorListWrapperProps<T>
impl<T: ItemRenderer> Properties for DualListSelectorListWrapperProps<T>
impl<T: ItemRenderer> StructuralPartialEq for DualListSelectorListWrapperProps<T>
Auto Trait Implementations§
impl<T> Freeze for DualListSelectorListWrapperProps<T>
impl<T> !RefUnwindSafe for DualListSelectorListWrapperProps<T>
impl<T> !Send for DualListSelectorListWrapperProps<T>
impl<T> !Sync for DualListSelectorListWrapperProps<T>
impl<T> Unpin for DualListSelectorListWrapperProps<T>where
T: Unpin,
impl<T> !UnwindSafe for DualListSelectorListWrapperProps<T>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.