pub enum SimpleComboBoxMsg<E: ToString> {
UpdateData(SimpleComboBox<E>),
SetActiveIdx(usize),
// some variants omitted
}
Expand description
The message type of SimpleComboBox
.
Variants§
UpdateData(SimpleComboBox<E>)
Overwrite the current values.
SetActiveIdx(usize)
Set the index of the active element.
Trait Implementations§
source§impl<E: Clone + ToString> Clone for SimpleComboBoxMsg<E>
impl<E: Clone + ToString> Clone for SimpleComboBoxMsg<E>
source§fn clone(&self) -> SimpleComboBoxMsg<E>
fn clone(&self) -> SimpleComboBoxMsg<E>
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<E: PartialEq + ToString> PartialEq<SimpleComboBoxMsg<E>> for SimpleComboBoxMsg<E>
impl<E: PartialEq + ToString> PartialEq<SimpleComboBoxMsg<E>> for SimpleComboBoxMsg<E>
source§fn eq(&self, other: &SimpleComboBoxMsg<E>) -> bool
fn eq(&self, other: &SimpleComboBoxMsg<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E: Eq + ToString> Eq for SimpleComboBoxMsg<E>
impl<E: ToString> StructuralEq for SimpleComboBoxMsg<E>
impl<E: ToString> StructuralPartialEq for SimpleComboBoxMsg<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for SimpleComboBoxMsg<E>where E: RefUnwindSafe,
impl<E> Send for SimpleComboBoxMsg<E>where E: Send,
impl<E> Sync for SimpleComboBoxMsg<E>where E: Sync,
impl<E> Unpin for SimpleComboBoxMsg<E>where E: Unpin,
impl<E> UnwindSafe for SimpleComboBoxMsg<E>where E: UnwindSafe,
Blanket Implementations§
source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.