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