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: ClassesAdditional 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: boolFlag indicating whether the component is disabled.
children: ChildrenAnything 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 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<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
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> UnsafeUnpin for DualListSelectorListWrapperProps<T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.