pub enum NodeRef {
Static(VariableId),
Lagged {
variable: VariableId,
lag: Lag,
},
Context {
variable: VariableId,
environment: Option<EnvironmentId>,
},
}Expand description
Stable node identity before dense indexing.
Variants§
Static(VariableId)
Static graph node.
Lagged
Lagged temporal node (variable at t - lag).
Context
Context-aware node.
Implementations§
Trait Implementations§
impl Copy for NodeRef
impl Eq for NodeRef
Source§impl Ord for NodeRef
impl Ord for NodeRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for NodeRef
impl PartialOrd for NodeRef
impl StructuralPartialEq for NodeRef
Auto Trait Implementations§
impl Freeze for NodeRef
impl RefUnwindSafe for NodeRef
impl Send for NodeRef
impl Sync for NodeRef
impl Unpin for NodeRef
impl UnsafeUnpin for NodeRef
impl UnwindSafe for NodeRef
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