pub struct DefaultFunctionRegistry {}Expand description
A default registry that does not support registering or calling functions.
Trait Implementations§
source§impl FunctionRegistry for DefaultFunctionRegistry
impl FunctionRegistry for DefaultFunctionRegistry
source§fn register(
&mut self,
_name: &str,
_fun: UserDefinedFunction
) -> PolarsResult<()>
fn register( &mut self, _name: &str, _fun: UserDefinedFunction ) -> PolarsResult<()>
Register a function.
source§fn get_udf(&self, _name: &str) -> PolarsResult<Option<UserDefinedFunction>>
fn get_udf(&self, _name: &str) -> PolarsResult<Option<UserDefinedFunction>>
Call a user defined function.
Auto Trait Implementations§
impl Freeze for DefaultFunctionRegistry
impl RefUnwindSafe for DefaultFunctionRegistry
impl Send for DefaultFunctionRegistry
impl Sync for DefaultFunctionRegistry
impl Unpin for DefaultFunctionRegistry
impl UnwindSafe for DefaultFunctionRegistry
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