pub struct EvalCtx<'a> {
pub row: &'a [Value],
pub columns: &'a [ColumnInfo],
pub rowid: Option<i64>,
pub params: &'a Params,
pub anon_counter: Cell<usize>,
pub subqueries: Option<&'a dyn Subqueries>,
}Expand description
The row context an expression is evaluated against.
Fields§
§row: &'a [Value]Column values for the current row (with rowid aliasing already applied).
columns: &'a [ColumnInfo]Metadata for each column in row, by the same index.
rowid: Option<i64>The current row’s rowid, if scanning a table.
params: &'a ParamsBound parameters.
anon_counter: Cell<usize>Running counter of anonymous ? parameters seen so far.
subqueries: Option<&'a dyn Subqueries>Subquery runner, if the executor supplied one.
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for EvalCtx<'a>
impl<'a> !RefUnwindSafe for EvalCtx<'a>
impl<'a> !Send for EvalCtx<'a>
impl<'a> !Sync for EvalCtx<'a>
impl<'a> !UnwindSafe for EvalCtx<'a>
impl<'a> Unpin for EvalCtx<'a>
impl<'a> UnsafeUnpin for EvalCtx<'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