Skip to main content

state_at

Function state_at 

Source
fn state_at(
    fields: &StateFieldsBatch,
    field: usize,
    position: usize,
) -> Result<Option<AccumulatorState>>
Expand description

One present field’s state at one position, read from the row’s component arrays.

The components come from the row’s own declaration; the native aggregate caller checks compatibility before this runs, so a component list that disagrees is caught before this runs.