pub struct DualListSelectorItemProps {
pub class: Classes,
pub is_selected: bool,
pub onoptionselect: Callback<MouseEvent>,
pub children: Html,
pub disabled: bool,
}
Expand description
Creates an individual option that can be selected and moved between the dual list selector panes. This is contained within the DualListSelectorList sub-component.
Fields§
§class: Classes
Additional classes applied to the dual list selector.
is_selected: bool
Flag indicating the list item is currently selected.
onoptionselect: Callback<MouseEvent>
Callback fired when an option is selected.
children: Html
Content rendered inside the dual list selector.
disabled: bool
Flag indicating if the dual list selector is in a disabled state.
Trait Implementations§
source§impl Clone for DualListSelectorItemProps
impl Clone for DualListSelectorItemProps
source§fn clone(&self) -> DualListSelectorItemProps
fn clone(&self) -> DualListSelectorItemProps
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 Debug for DualListSelectorItemProps
impl Debug for DualListSelectorItemProps
source§impl PartialEq for DualListSelectorItemProps
impl PartialEq for DualListSelectorItemProps
source§fn eq(&self, other: &DualListSelectorItemProps) -> bool
fn eq(&self, other: &DualListSelectorItemProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DualListSelectorItemProps
Auto Trait Implementations§
impl Freeze for DualListSelectorItemProps
impl !RefUnwindSafe for DualListSelectorItemProps
impl !Send for DualListSelectorItemProps
impl !Sync for DualListSelectorItemProps
impl Unpin for DualListSelectorItemProps
impl !UnwindSafe for DualListSelectorItemProps
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.