pub struct WorkspaceMode<M = Unselected> { /* private fields */ }Expand description
Workspace content mode of p4 diff, comparing files in the client
workspace to revisions in the depot.
Entered with Diff::force, Diff::differing_only, or
Diff::diff_nontext.
The M type parameter isolates -m max and -soptions at compile time:
Diff::limit transitions to the WorkspaceRegularMode state, while
Diff::display_options transitions to the WorkspaceDisplayMode
state.
Trait Implementations§
Source§impl<M: Clone> Clone for WorkspaceMode<M>
impl<M: Clone> Clone for WorkspaceMode<M>
Source§impl<M: Debug> Debug for WorkspaceMode<M>
impl<M: Debug> Debug for WorkspaceMode<M>
Source§impl<M: Default> Default for WorkspaceMode<M>
impl<M: Default> Default for WorkspaceMode<M>
Source§impl<M: ExclusiveOption> ExclusiveOption for WorkspaceMode<M>
impl<M: ExclusiveOption> ExclusiveOption for WorkspaceMode<M>
Source§fn inject_args(&self, command: &mut Command)
fn inject_args(&self, command: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.Auto Trait Implementations§
impl<M> Freeze for WorkspaceMode<M>where
M: Freeze,
impl<M> RefUnwindSafe for WorkspaceMode<M>where
M: RefUnwindSafe,
impl<M> Send for WorkspaceMode<M>where
M: Send,
impl<M> Sync for WorkspaceMode<M>where
M: Sync,
impl<M> Unpin for WorkspaceMode<M>where
M: Unpin,
impl<M> UnsafeUnpin for WorkspaceMode<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for WorkspaceMode<M>where
M: UnwindSafe,
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