pub enum MarkTarget {
SameFile {
line: usize,
},
OtherFile {
file_index: usize,
line: usize,
},
}Expand description
Result of a mark jump or previous-position swap. The caller (app
dispatch) handles OtherFile by switching files before applying
the line jump.
Variants§
Trait Implementations§
Source§impl Clone for MarkTarget
impl Clone for MarkTarget
Source§fn clone(&self) -> MarkTarget
fn clone(&self) -> MarkTarget
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 MarkTarget
impl Debug for MarkTarget
Source§impl PartialEq for MarkTarget
impl PartialEq for MarkTarget
Source§fn eq(&self, other: &MarkTarget) -> bool
fn eq(&self, other: &MarkTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MarkTarget
impl Eq for MarkTarget
impl StructuralPartialEq for MarkTarget
Auto Trait Implementations§
impl Freeze for MarkTarget
impl RefUnwindSafe for MarkTarget
impl Send for MarkTarget
impl Sync for MarkTarget
impl Unpin for MarkTarget
impl UnsafeUnpin for MarkTarget
impl UnwindSafe for MarkTarget
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.