pub struct Fork {
pub index: usize,
pub a_step: Option<usize>,
pub b_step: Option<usize>,
pub confidence: f64,
}Expand description
The divergence point: the first non-sync block the alignment does not recover from (resync-k rule; see the 2026-07-08 amendment). Absent on a converged diff.
Fields§
§index: usizeIndex into DiffResult::alignment where the unrecovered divergence begins.
a_step: Option<usize>Diverging step in run a, if the fork has an a side.
b_step: Option<usize>Diverging step in run b, if the fork has a b side.
confidence: f64Confidence in the fork localization, in [0, 1].
Trait Implementations§
impl Copy for Fork
Source§impl<'de> Deserialize<'de> for Fork
impl<'de> Deserialize<'de> for Fork
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Fork
Auto Trait Implementations§
impl Freeze for Fork
impl RefUnwindSafe for Fork
impl Send for Fork
impl Sync for Fork
impl Unpin for Fork
impl UnsafeUnpin for Fork
impl UnwindSafe for Fork
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