VTableExt

Trait VTableExt 

Source
pub trait VTableExt: VTable {
    // Provided methods
    fn bind(&'static self, options: Self::Options) -> ScalarFn { ... }
    fn new_expr(
        &'static self,
        options: Self::Options,
        children: impl Into<Arc<[Expression]>>,
    ) -> Expression { ... }
    fn try_new_expr(
        &'static self,
        options: Self::Options,
        children: impl Into<Arc<[Expression]>>,
    ) -> VortexResult<Expression> { ... }
}
Expand description

Factory functions for static vtables.

Provided Methods§

Source

fn bind(&'static self, options: Self::Options) -> ScalarFn

Bind this vtable with the given options into a ScalarFn.

Source

fn new_expr( &'static self, options: Self::Options, children: impl Into<Arc<[Expression]>>, ) -> Expression

Create a new expression with this vtable and the given options and children.

Source

fn try_new_expr( &'static self, options: Self::Options, children: impl Into<Arc<[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.

Implementors§

Source§

impl<V: VTable> VTableExt for V