pub enum ListOperation {
Select {
old_selection: Option<usize>,
new_selection: Option<usize>,
},
MultiSelect {
old_selections: Vec<usize>,
new_selections: Vec<usize>,
},
}Expand description
List selection operation types.
Variants§
Implementations§
Source§impl ListOperation
impl ListOperation
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get a description of this operation.
Trait Implementations§
Source§impl Clone for ListOperation
impl Clone for ListOperation
Source§fn clone(&self) -> ListOperation
fn clone(&self) -> ListOperation
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 moreAuto Trait Implementations§
impl Freeze for ListOperation
impl RefUnwindSafe for ListOperation
impl Send for ListOperation
impl Sync for ListOperation
impl Unpin for ListOperation
impl UnwindSafe for ListOperation
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