pub enum LogScope {
Repo,
File(String),
}Expand description
Where a LogPanel’s entries came from, and what its Enter should diff
against.
Variants§
Repo
The whole repository’s history (Git → Log).
File(String)
One file’s history (Git → File History), by its
workspace-relative path – so Enter can pass it to show_commit
and diff just that file, not the whole commit.
Trait Implementations§
impl Eq for LogScope
impl StructuralPartialEq for LogScope
Auto Trait Implementations§
impl Freeze for LogScope
impl RefUnwindSafe for LogScope
impl Send for LogScope
impl Sync for LogScope
impl Unpin for LogScope
impl UnsafeUnpin for LogScope
impl UnwindSafe for LogScope
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