Struct libdiffsitter::diff::MyersFrontiers
source · pub struct MyersFrontiers {
pub forward: NegIdxVec<i32>,
pub reverse: NegIdxVec<i32>,
}
Expand description
The frontiers for the Myers diff algorithm
We define this externally to the recursive method so we can allocate once and reuse between recursive calls.
Fields§
§forward: NegIdxVec<i32>
Stores the longest path seen from the old input to the new input
reverse: NegIdxVec<i32>
Stores the longest path seen from the new input to the old input
Auto Trait Implementations§
impl RefUnwindSafe for MyersFrontiers
impl Send for MyersFrontiers
impl Sync for MyersFrontiers
impl Unpin for MyersFrontiers
impl UnwindSafe for MyersFrontiers
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