Struct jujutsu_lib::files::ConflictHunk
source · pub struct ConflictHunk {
pub removes: Vec<Vec<u8>>,
pub adds: Vec<Vec<u8>>,
}
Fields§
§removes: Vec<Vec<u8>>
§adds: Vec<Vec<u8>>
Trait Implementations§
source§impl Clone for ConflictHunk
impl Clone for ConflictHunk
source§fn clone(&self) -> ConflictHunk
fn clone(&self) -> ConflictHunk
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<ConflictHunk> for ConflictHunk
impl PartialEq<ConflictHunk> for ConflictHunk
source§fn eq(&self, other: &ConflictHunk) -> bool
fn eq(&self, other: &ConflictHunk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConflictHunk
impl StructuralEq for ConflictHunk
impl StructuralPartialEq for ConflictHunk
Auto Trait Implementations§
impl RefUnwindSafe for ConflictHunk
impl Send for ConflictHunk
impl Sync for ConflictHunk
impl Unpin for ConflictHunk
impl UnwindSafe for ConflictHunk
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