pub enum PaletteAction {
Execute(String),
Dismiss,
}Expand description
Action returned from event handling.
Variants§
Execute(String)
User selected an action to execute (contains the action ID).
Dismiss
User dismissed the palette (Esc).
Trait Implementations§
Source§impl Clone for PaletteAction
impl Clone for PaletteAction
Source§fn clone(&self) -> PaletteAction
fn clone(&self) -> PaletteAction
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 Debug for PaletteAction
impl Debug for PaletteAction
Source§impl PartialEq for PaletteAction
impl PartialEq for PaletteAction
impl Eq for PaletteAction
impl StructuralPartialEq for PaletteAction
Auto Trait Implementations§
impl Freeze for PaletteAction
impl RefUnwindSafe for PaletteAction
impl Send for PaletteAction
impl Sync for PaletteAction
impl Unpin for PaletteAction
impl UnsafeUnpin for PaletteAction
impl UnwindSafe for PaletteAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.