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 ==.