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
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