pub struct RowContext<'a> { /* private fields */ }Expand description
Per-row context handed to a compiled generator or modifier.
A compiled operator owns its own per-operator RNG (seeded from
CompileContext at compile time and advanced sequentially per row), so
RowContext deliberately carries no RNG: it exposes the row index and
read-only access to sibling column values, which is all the row-time
dependencies a value operator needs. Spooling is coordinated at table scope.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RowContext<'a>
impl<'a> !Send for RowContext<'a>
impl<'a> !Sync for RowContext<'a>
impl<'a> !UnwindSafe for RowContext<'a>
impl<'a> Freeze for RowContext<'a>
impl<'a> Unpin for RowContext<'a>
impl<'a> UnsafeUnpin for RowContext<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more