pub enum ListSelection {
Unchanged,
Selected,
Activated,
}Expand description
Informs you about the change that was made to the list selection.
Variants§
Unchanged
The selection wasn’t changed.
Selected
The selection was changed to the current list item.
Activated
The selection was changed to the current list item and the item was also activated (Enter or Double-click).
Trait Implementations§
Source§impl Clone for ListSelection
impl Clone for ListSelection
Source§fn clone(&self) -> ListSelection
fn clone(&self) -> ListSelection
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 PartialEq for ListSelection
impl PartialEq for ListSelection
impl Copy for ListSelection
impl Eq for ListSelection
impl StructuralPartialEq for ListSelection
Auto Trait Implementations§
impl Freeze for ListSelection
impl RefUnwindSafe for ListSelection
impl Send for ListSelection
impl Sync for ListSelection
impl Unpin for ListSelection
impl UnwindSafe for ListSelection
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