Struct chalk_recursive::fixed_point::search_graph::Node
source · pub(super) struct Node<K, V> {
pub(crate) goal: K,
pub(crate) solution: V,
pub(crate) stack_depth: Option<StackDepth>,
pub(crate) links: Minimums,
}
Fields§
§goal: K
§solution: V
§stack_depth: Option<StackDepth>
This is Some(X)
if we are actively exploring this node, or
None
otherwise.
links: Minimums
While this node is on the stack, this field will be set to contain our own depth-first number. Once the node is popped from the stack, it contains the DFN of the minimal ancestor that the table reached (or MAX if no cycle was encountered).
Auto Trait Implementations§
impl<K, V> Freeze for Node<K, V>
impl<K, V> RefUnwindSafe for Node<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Node<K, V>
impl<K, V> Sync for Node<K, V>
impl<K, V> Unpin for Node<K, V>
impl<K, V> UnwindSafe for Node<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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