pub struct MergeCandidate {
pub fact: Fact,
pub cosine_similarity: Cosine,
}Expand description
One pool member that survived the cosine merge threshold.
Deliberately not PartialEq: comparing full Fact clones is brittle (it
drags in f32 via Confidence/Heat). Tests compare fields directly.
Fields§
§fact: FactCloned existing fact (a pool member).
cosine_similarity: CosineTrait Implementations§
Source§impl Clone for MergeCandidate
impl Clone for MergeCandidate
Source§fn clone(&self) -> MergeCandidate
fn clone(&self) -> MergeCandidate
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 moreAuto Trait Implementations§
impl Freeze for MergeCandidate
impl RefUnwindSafe for MergeCandidate
impl Send for MergeCandidate
impl Sync for MergeCandidate
impl Unpin for MergeCandidate
impl UnsafeUnpin for MergeCandidate
impl UnwindSafe for MergeCandidate
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