pub struct NearMatchPair {
pub a: UnitRef,
pub b: UnitRef,
pub estimated_jaccard: f64,
}Expand description
A near-match candidate: two units whose structural shingle sets overlap
enough to be a possible Type-3 clone. Canonical: a < b.
Fields§
§a: UnitRefThe lower unit.
b: UnitRefThe higher unit.
estimated_jaccard: f64MinHash-estimated Jaccard similarity of the two shingle sets.
Trait Implementations§
Source§impl Clone for NearMatchPair
impl Clone for NearMatchPair
Source§fn clone(&self) -> NearMatchPair
fn clone(&self) -> NearMatchPair
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 moreimpl Copy for NearMatchPair
Source§impl Debug for NearMatchPair
impl Debug for NearMatchPair
Source§impl PartialEq for NearMatchPair
impl PartialEq for NearMatchPair
impl StructuralPartialEq for NearMatchPair
Auto Trait Implementations§
impl Freeze for NearMatchPair
impl RefUnwindSafe for NearMatchPair
impl Send for NearMatchPair
impl Sync for NearMatchPair
impl Unpin for NearMatchPair
impl UnsafeUnpin for NearMatchPair
impl UnwindSafe for NearMatchPair
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