pub struct ScalarEvalContext<'a> { /* private fields */ }Implementations§
Source§impl<'a> ScalarEvalContext<'a>
impl<'a> ScalarEvalContext<'a>
pub fn new(row: Option<&'a ResultRow>, params: &'a [SQLParam]) -> Self
pub fn from_row_lookup(row: &'a dyn RowLookup, params: &'a [SQLParam]) -> Self
pub fn with_function_hook(self, hook: &'a dyn EngineHook) -> Self
pub fn with_subquery_runner(self, runner: &'a dyn ScalarSubqueryRunner) -> Self
pub fn with_physical_outer_row( self, schema: &'a RowSchema, row: &'a PhysicalRow, ) -> Self
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ScalarEvalContext<'a>
impl<'a> !Send for ScalarEvalContext<'a>
impl<'a> !Sync for ScalarEvalContext<'a>
impl<'a> !UnwindSafe for ScalarEvalContext<'a>
impl<'a> Freeze for ScalarEvalContext<'a>
impl<'a> Unpin for ScalarEvalContext<'a>
impl<'a> UnsafeUnpin for ScalarEvalContext<'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
impl<T> ErasedDestructor for Twhere
T: 'static,
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