pub struct DirectResidentIfdsGraphKey { /* private fields */ }Expand description
Opaque identity for a stable direct-resident IFDS graph.
Build this once for an invariant graph, then pass it to
[DirectResidentIfdsBatch::solve_many_with_graph_key] or
[DirectResidentIfdsBatch::solve_with_graph_key] to avoid re-hashing every
edge family at the call site. The keyed solve path still checks the
graph dimensions, edge-family lengths, and edge-family hash before touching resident cache
state.
Implementations§
Trait Implementations§
Source§impl Clone for DirectResidentIfdsGraphKey
impl Clone for DirectResidentIfdsGraphKey
Source§fn clone(&self) -> DirectResidentIfdsGraphKey
fn clone(&self) -> DirectResidentIfdsGraphKey
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 DirectResidentIfdsGraphKey
Source§impl Debug for DirectResidentIfdsGraphKey
impl Debug for DirectResidentIfdsGraphKey
impl Eq for DirectResidentIfdsGraphKey
Source§impl Hash for DirectResidentIfdsGraphKey
impl Hash for DirectResidentIfdsGraphKey
impl StructuralPartialEq for DirectResidentIfdsGraphKey
Auto Trait Implementations§
impl Freeze for DirectResidentIfdsGraphKey
impl RefUnwindSafe for DirectResidentIfdsGraphKey
impl Send for DirectResidentIfdsGraphKey
impl Sync for DirectResidentIfdsGraphKey
impl Unpin for DirectResidentIfdsGraphKey
impl UnsafeUnpin for DirectResidentIfdsGraphKey
impl UnwindSafe for DirectResidentIfdsGraphKey
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
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§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
Compare self to
key and return true if they are equal.