pub struct RepeatContext {
pub current: Value,
pub index: usize,
pub count: usize,
pub parent: Option<Box<RepeatContext>>,
pub collection: Vec<Value>,
}Expand description
Repeat-group iteration context (§4.3).
Fields§
§current: ValueThe current row value.
index: usize1-based index within the repeat group.
count: usizeTotal instance count.
parent: Option<Box<RepeatContext>>Parent repeat context (for nested repeats).
collection: Vec<Value>All rows in the collection (for prev/next navigation).
Trait Implementations§
Source§impl Clone for RepeatContext
impl Clone for RepeatContext
Auto Trait Implementations§
impl Forget for RepeatContext
impl Freeze for RepeatContext
impl RefUnwindSafe for RepeatContext
impl Send for RepeatContext
impl Sync for RepeatContext
impl Unpin for RepeatContext
impl UnsafeUnpin for RepeatContext
impl UnwindSafe for RepeatContext
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