pub enum TabAction {
NewTab,
CloseTab,
NextTab,
PrevTab,
SwitchToIndex(usize),
ReopenClosed,
None,
}Expand description
Keyboard shortcut actions for tabs
Variants§
NewTab
Ctrl+T: new tab
CloseTab
Ctrl+W: close current tab
NextTab
Ctrl+Tab: next tab
PrevTab
Ctrl+Shift+Tab: previous tab
SwitchToIndex(usize)
Ctrl+1..9: switch to tab N
ReopenClosed
Ctrl+Shift+T: reopen last closed tab
None
None
Trait Implementations§
impl Copy for TabAction
impl Eq for TabAction
impl StructuralPartialEq for TabAction
Auto Trait Implementations§
impl Freeze for TabAction
impl RefUnwindSafe for TabAction
impl Send for TabAction
impl Sync for TabAction
impl Unpin for TabAction
impl UnwindSafe for TabAction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)