pub struct Values<'a> { /* private fields */ }Expand description
Read-only value-level view over a node fn’s dependency snapshot (D27/R-primary-api-clean).
Values exposes DATA-oriented dep state (latest, prev, batch, terminal state)
without the ctx-level power surface (up, down, rewire_next). Graph derived and
effect use this canonical Rust value API; node/producer remain the ctx-level
escape hatch.
Implementations§
Source§impl<'a> Values<'a>
impl<'a> Values<'a>
Sourcepub fn prev<T: 'static>(&self, i: usize) -> Option<Rc<T>>
pub fn prev<T: 'static>(&self, i: usize) -> Option<Rc<T>>
Value-level derived helper: last committed DATA before dep i’s current batch.
This is graph sugar, not part of the raw Ctx dep-value surface (D77).
Sourcepub fn batches<T: 'static>(&self, i: usize) -> Vec<Vec<Rc<T>>>
pub fn batches<T: 'static>(&self, i: usize) -> Vec<Vec<Rc<T>>>
DATA payloads dep i delivered before this run, grouped by upstream wave.
Sourcepub fn terminal(&self, i: usize) -> Option<&DepTerminal>
pub fn terminal(&self, i: usize) -> Option<&DepTerminal>
Terminal state for dep i, when terminal-as-real-input sugar needs it.
Auto Trait Implementations§
impl<'a> Freeze for Values<'a>
impl<'a> !RefUnwindSafe for Values<'a>
impl<'a> !Send for Values<'a>
impl<'a> !Sync for Values<'a>
impl<'a> Unpin for Values<'a>
impl<'a> UnsafeUnpin for Values<'a>
impl<'a> !UnwindSafe for Values<'a>
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