Struct BaseColumnUdf
pub struct BaseColumnUdf<F, DT> { /* private fields */ }
Implementations§
§impl<F, DT> BaseColumnUdf<F, DT>
impl<F, DT> BaseColumnUdf<F, DT>
pub fn new(f: F, dt: DT) -> BaseColumnUdf<F, DT>
Trait Implementations§
§impl<F, DT> AnonymousColumnsUdf for BaseColumnUdf<F, DT>
impl<F, DT> AnonymousColumnsUdf for BaseColumnUdf<F, DT>
fn as_column_udf(self: Arc<BaseColumnUdf<F, DT>>) -> Arc<dyn ColumnsUdf>
fn deep_clone(self: Arc<BaseColumnUdf<F, DT>>) -> Arc<dyn AnonymousColumnsUdf>
fn get_field( &self, input_schema: &Schema<DataType>, fields: &[Field], ) -> Result<Field, PolarsError>
fn try_serialize(&self, _buf: &mut Vec<u8>) -> Result<(), PolarsError>
§impl<F, DT> ColumnsUdf for BaseColumnUdf<F, DT>
impl<F, DT> ColumnsUdf for BaseColumnUdf<F, DT>
Auto Trait Implementations§
impl<F, DT> Freeze for BaseColumnUdf<F, DT>
impl<F, DT> RefUnwindSafe for BaseColumnUdf<F, DT>where
F: RefUnwindSafe,
DT: RefUnwindSafe,
impl<F, DT> Send for BaseColumnUdf<F, DT>
impl<F, DT> Sync for BaseColumnUdf<F, DT>
impl<F, DT> Unpin for BaseColumnUdf<F, DT>
impl<F, DT> UnwindSafe for BaseColumnUdf<F, DT>where
F: UnwindSafe,
DT: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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