pub struct CausalPredecessor<N, E> {
pub node: N,
pub edge: Option<E>,
}Expand description
One causal predecessor retained for a changed node state.
Fields§
§node: NNode whose output caused the change, or the seeded node itself.
edge: Option<E>Propagation edge, absent for a seed fact.
Trait Implementations§
Source§impl<N: Clone, E: Clone> Clone for CausalPredecessor<N, E>
impl<N: Clone, E: Clone> Clone for CausalPredecessor<N, E>
Source§fn clone(&self) -> CausalPredecessor<N, E>
fn clone(&self) -> CausalPredecessor<N, E>
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<N: Eq, E: Eq> Eq for CausalPredecessor<N, E>
impl<N: PartialEq, E: PartialEq> StructuralPartialEq for CausalPredecessor<N, E>
Auto Trait Implementations§
impl<N, E> Freeze for CausalPredecessor<N, E>
impl<N, E> RefUnwindSafe for CausalPredecessor<N, E>where
N: RefUnwindSafe,
E: RefUnwindSafe,
impl<N, E> Send for CausalPredecessor<N, E>
impl<N, E> Sync for CausalPredecessor<N, E>
impl<N, E> Unpin for CausalPredecessor<N, E>
impl<N, E> UnsafeUnpin for CausalPredecessor<N, E>where
N: UnsafeUnpin,
E: UnsafeUnpin,
impl<N, E> UnwindSafe for CausalPredecessor<N, E>where
N: UnwindSafe,
E: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FingerprintValue for Twhere
T: Hash,
impl<T> FingerprintValue for Twhere
T: Hash,
Source§fn incremental_fingerprint(&self) -> ValueFingerprint
fn incremental_fingerprint(&self) -> ValueFingerprint
Returns a compact value identity for incremental cutoff.