pub struct Branch<B = Unselected> { /* private fields */ }Expand description
The branch form: p4 copy -b branch [-r] [toFile[rev] ...].
Uses a branch view to determine source and target files. The B type
parameter tracks whether -r has been supplied: Unselected is the
forward direction; BranchReverse reverses the mapping.
Trait Implementations§
impl<B: Eq> Eq for Branch<B>
Source§impl ExclusiveOption for Branch<Unselected>
impl ExclusiveOption for Branch<Unselected>
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.Source§impl ExclusiveOption for Branch<BranchReverse>
impl ExclusiveOption for Branch<BranchReverse>
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.impl<B: PartialEq> StructuralPartialEq for Branch<B>
Auto Trait Implementations§
impl<B> Freeze for Branch<B>where
B: Freeze,
impl<B> RefUnwindSafe for Branch<B>where
B: RefUnwindSafe,
impl<B> Send for Branch<B>where
B: Send,
impl<B> Sync for Branch<B>where
B: Sync,
impl<B> Unpin for Branch<B>where
B: Unpin,
impl<B> UnsafeUnpin for Branch<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Branch<B>where
B: 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