pub trait ApplyLambdaGeneric<'py> {
// Required methods
fn apply_generic(
&self,
py: Python<'py>,
lambda: &Bound<'py, PyAny>,
skip_nulls: bool,
) -> PyResult<Series>;
fn apply_generic_with_dtype(
&self,
py: Python<'py>,
lambda: &Bound<'py, PyAny>,
datatype: &DataType,
skip_nulls: bool,
) -> PyResult<Series>;
}Required Methods§
fn apply_generic( &self, py: Python<'py>, lambda: &Bound<'py, PyAny>, skip_nulls: bool, ) -> PyResult<Series>
fn apply_generic_with_dtype( &self, py: Python<'py>, lambda: &Bound<'py, PyAny>, datatype: &DataType, skip_nulls: bool, ) -> PyResult<Series>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<'py, L, P> ApplyLambdaGeneric<'py> for Logical<L, P>
impl<'py, T> ApplyLambdaGeneric<'py> for ChunkedArray<T>
impl<'py> ApplyLambdaGeneric<'py> for ArrayChunked
Available on crate feature
dtype-array only.impl<'py> ApplyLambdaGeneric<'py> for BinaryChunked
impl<'py> ApplyLambdaGeneric<'py> for BooleanChunked
impl<'py> ApplyLambdaGeneric<'py> for ExtensionChunked
impl<'py> ApplyLambdaGeneric<'py> for ListChunked
impl<'py> ApplyLambdaGeneric<'py> for NullChunked
impl<'py> ApplyLambdaGeneric<'py> for ObjectChunked<ObjectValue>
Available on crate feature
object only.