Struct CouplingMemoKey
pub struct CouplingMemoKey { /* private fields */ }Expand description
Memo key for run_coupling. Carries EXACTLY the Options fields that
build_coupling_sql, good_commits_cte, source_table,
build_total_commits_sql, or the Rust-side Fisher pass branch on — and
nothing else. Two Options that agree on every field here produce a
byte-identical un-row-limited result, so they may share a memo entry.
Deliberately EXCLUDED: rows_limit (applied as a post-memo
Vec::truncate, so the stored result is the full graph regardless of the
caller’s --rows N) and every field that only affects ingest or other
analyses (after/before/group_file/… are baked into
the fact store at ingest time, before any coupling call runs).
fisher_significance is an f64; we key on its raw bit pattern
(f64::to_bits) for total, exact-equality hashing — the value flows into
the Rust filter fisher_p < opts.fisher_significance, and exact equality
is the right notion (the same Options.fisher_significance must map to
the same entry; a different one must not collide).
Trait Implementations§
§impl Clone for CouplingMemoKey
impl Clone for CouplingMemoKey
§fn clone(&self) -> CouplingMemoKey
fn clone(&self) -> CouplingMemoKey
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for CouplingMemoKey
impl Debug for CouplingMemoKey
impl Eq for CouplingMemoKey
§impl Hash for CouplingMemoKey
impl Hash for CouplingMemoKey
§impl PartialEq for CouplingMemoKey
impl PartialEq for CouplingMemoKey
impl StructuralPartialEq for CouplingMemoKey
Auto Trait Implementations§
impl Freeze for CouplingMemoKey
impl RefUnwindSafe for CouplingMemoKey
impl Send for CouplingMemoKey
impl Sync for CouplingMemoKey
impl Unpin for CouplingMemoKey
impl UnsafeUnpin for CouplingMemoKey
impl UnwindSafe for CouplingMemoKey
Blanket Implementations§
impl<T> Allocation for T
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more