pub enum TabOutcome {
Move(Range<u32>),
Finish(u32),
Stay,
}Expand description
What a Tab / Shift+Tab did to a live session.
Variants§
Move(Range<u32>)
Moved to a stop; the caller selects this range.
Finish(u32)
Reached the final stop — the session has ended (ranges unregistered); the caller collapses the caret at this offset.
Stay
No-op (Shift+Tab at the first stop).
Trait Implementations§
Source§impl Clone for TabOutcome
impl Clone for TabOutcome
Source§fn clone(&self) -> TabOutcome
fn clone(&self) -> TabOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TabOutcome
impl Debug for TabOutcome
impl Eq for TabOutcome
Source§impl PartialEq for TabOutcome
impl PartialEq for TabOutcome
impl StructuralPartialEq for TabOutcome
Auto Trait Implementations§
impl Freeze for TabOutcome
impl RefUnwindSafe for TabOutcome
impl Send for TabOutcome
impl Sync for TabOutcome
impl Unpin for TabOutcome
impl UnsafeUnpin for TabOutcome
impl UnwindSafe for TabOutcome
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§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.