pub enum ReadFirst {
Pin,
Worktree,
}Expand description
Which copy of a walkthrough’s file Review::compute_walkthrough_files
reads first, falling back to the other.
Variants§
Pin
The commit the walkthrough was pinned to, for code that was committed.
Worktree
The file on disk, for a walkthrough of uncommitted work.
Trait Implementations§
impl Copy for ReadFirst
impl Eq for ReadFirst
impl StructuralPartialEq for ReadFirst
Auto Trait Implementations§
impl Freeze for ReadFirst
impl RefUnwindSafe for ReadFirst
impl Send for ReadFirst
impl Sync for ReadFirst
impl Unpin for ReadFirst
impl UnsafeUnpin for ReadFirst
impl UnwindSafe for ReadFirst
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