pub struct FixConflict {
pub first: Range<usize>,
pub second: Range<usize>,
}Expand description
A pair of edits from the same file that overlap in byte range.
Fields§
§first: Range<usize>Byte range of the first (higher-offset) edit.
second: Range<usize>Byte range of the second (lower-offset) edit that overlaps it.
Trait Implementations§
Source§impl Clone for FixConflict
impl Clone for FixConflict
Source§fn clone(&self) -> FixConflict
fn clone(&self) -> FixConflict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FixConflict
impl RefUnwindSafe for FixConflict
impl Send for FixConflict
impl Sync for FixConflict
impl Unpin for FixConflict
impl UnsafeUnpin for FixConflict
impl UnwindSafe for FixConflict
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