pub trait VTableExt: VTable {
// Provided methods
fn bind(&'static self, options: Self::Options) -> ScalarFn { ... }
fn new_expr(
&'static self,
options: Self::Options,
children: impl IntoIterator<Item = Expression>,
) -> Expression { ... }
fn try_new_expr(
&'static self,
options: Self::Options,
children: impl IntoIterator<Item = Expression>,
) -> VortexResult<Expression> { ... }
}Expand description
Factory functions for static vtables.
Provided Methods§
Sourcefn bind(&'static self, options: Self::Options) -> ScalarFn
fn bind(&'static self, options: Self::Options) -> ScalarFn
Bind this vtable with the given options into a ScalarFn.
Sourcefn new_expr(
&'static self,
options: Self::Options,
children: impl IntoIterator<Item = Expression>,
) -> Expression
fn new_expr( &'static self, options: Self::Options, children: impl IntoIterator<Item = Expression>, ) -> Expression
Create a new expression with this vtable and the given options and children.
Sourcefn try_new_expr(
&'static self,
options: Self::Options,
children: impl IntoIterator<Item = Expression>,
) -> VortexResult<Expression>
fn try_new_expr( &'static self, options: Self::Options, children: impl IntoIterator<Item = Expression>, ) -> VortexResult<Expression>
Try to create a new expression with this vtable and the given options and children.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.