pub enum NodeState {
Clean,
Check,
Dirty,
}Expand description
Propagation state for glitch-free push-pull memo evaluation.
Variants§
Clean
Cached value is up to date.
Check
Upstream dependency may have changed and requires verification.
Dirty
Guaranteed dirty and must recompute before reading.
Trait Implementations§
impl Copy for NodeState
impl Eq for NodeState
Source§impl Ord for NodeState
impl Ord for NodeState
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for NodeState
impl PartialOrd for NodeState
impl StructuralPartialEq for NodeState
Auto Trait Implementations§
impl Forget for NodeState
impl Freeze for NodeState
impl Move for NodeState
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnsafeUnpin for NodeState
impl UnwindSafe for NodeState
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