pub struct DualListSelectorListContext<T: ItemRenderer> {
pub options: Vec<T>,
pub selected_options: Vec<usize>,
pub onoptionselect: Callback<OnOptionSelectArgsNoChosen>,
pub disabled: bool,
}
Fields§
§options: Vec<T>
§selected_options: Vec<usize>
§onoptionselect: Callback<OnOptionSelectArgsNoChosen>
§disabled: bool
Trait Implementations§
source§impl<T: Clone + ItemRenderer> Clone for DualListSelectorListContext<T>
impl<T: Clone + ItemRenderer> Clone for DualListSelectorListContext<T>
source§fn clone(&self) -> DualListSelectorListContext<T>
fn clone(&self) -> DualListSelectorListContext<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 DualListSelectorListContext<T>
impl<T: Debug + ItemRenderer> Debug for DualListSelectorListContext<T>
source§impl<T: PartialEq + ItemRenderer> PartialEq for DualListSelectorListContext<T>
impl<T: PartialEq + ItemRenderer> PartialEq for DualListSelectorListContext<T>
source§fn eq(&self, other: &DualListSelectorListContext<T>) -> bool
fn eq(&self, other: &DualListSelectorListContext<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: ItemRenderer> StructuralPartialEq for DualListSelectorListContext<T>
Auto Trait Implementations§
impl<T> Freeze for DualListSelectorListContext<T>
impl<T> !RefUnwindSafe for DualListSelectorListContext<T>
impl<T> !Send for DualListSelectorListContext<T>
impl<T> !Sync for DualListSelectorListContext<T>
impl<T> Unpin for DualListSelectorListContext<T>where
T: Unpin,
impl<T> !UnwindSafe for DualListSelectorListContext<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.