pub enum DiffFocus {
File(FileId),
Hunk(HunkId),
}Expand description
Focus target inside a diff document.
Variants§
Trait Implementations§
impl Copy for DiffFocus
impl Eq for DiffFocus
Source§impl Ord for DiffFocus
impl Ord for DiffFocus
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DiffFocus
impl PartialOrd for DiffFocus
impl StructuralPartialEq for DiffFocus
Auto Trait Implementations§
impl Freeze for DiffFocus
impl RefUnwindSafe for DiffFocus
impl Send for DiffFocus
impl Sync for DiffFocus
impl Unpin for DiffFocus
impl UnsafeUnpin for DiffFocus
impl UnwindSafe for DiffFocus
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