pub struct ClonePair {
pub content_key: u64,
pub clone_type: CloneClass,
pub score: f64,
pub a: Instance,
pub b: Instance,
/* private fields */
}Expand description
A verified match between two instances of the same content.
Fields§
§content_key: u64Compact candidate-derived content key retained for deterministic presentation ordering.
clone_type: CloneClassClone classification.
score: f64Fraction of positions whose raw text also matches (1.0 for Type-1).
a: InstanceFirst instance (smaller (file, token_start)).
b: InstanceSecond instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClonePair
impl RefUnwindSafe for ClonePair
impl Send for ClonePair
impl Sync for ClonePair
impl Unpin for ClonePair
impl UnsafeUnpin for ClonePair
impl UnwindSafe for ClonePair
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