pub struct Snake {
pub x0: isize,
pub y0: isize,
pub len: isize,
}
Expand description
A pair of spans with the same content in two different slices.
Fields§
§x0: isize
The start of the span in the removed bytes.
y0: isize
The start of the span in the added bytes.
len: isize
The length of the span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snake
impl RefUnwindSafe for Snake
impl Send for Snake
impl Sync for Snake
impl Unpin for Snake
impl UnwindSafe for Snake
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