ScalarFnVTableExt

Trait ScalarFnVTableExt 

Source
pub trait ScalarFnVTableExt: VTable {
    // Provided methods
    fn new_fn(self, options: Self::Options) -> ScalarFn { ... }
    fn new_fn_static(&'static self, options: Self::Options) -> ScalarFn { ... }
}

Provided Methods§

Source

fn new_fn(self, options: Self::Options) -> ScalarFn

Creates a new ScalarFn instance with the given options.

Source

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

Creates a new ScalarFn instance with the given options from a ’static vtable.

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§