Struct polars_plan::dsl::SpecialEq
source · [−]pub struct SpecialEq<T>(_);
Expand description
Wrapper type that has special equality properties depending on the inner type specialization
Implementations
sourceimpl SpecialEq<Arc<dyn FunctionOutputField + 'static>>
impl SpecialEq<Arc<dyn FunctionOutputField + 'static>>
pub fn same_type() -> Self
pub fn from_type(dt: DataType) -> Self
pub fn map_field<F: 'static + Fn(&Field) -> Field + Send + Sync>(f: F) -> Self
pub fn map_fields<F: 'static + Fn(&[Field]) -> Field + Send + Sync>(
f: F
) -> Self
pub fn map_dtype<F: 'static + Fn(&DataType) -> DataType + Send + Sync>(
f: F
) -> Self
pub fn super_type() -> Self
pub fn map_dtypes<F>(f: F) -> Selfwhere
F: 'static + Fn(&[&DataType]) -> DataType + Send + Sync,
Trait Implementations
sourceimpl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
impl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
sourceimpl Default for SpecialEq<Arc<dyn SeriesBinaryUdf>>
impl Default for SpecialEq<Arc<dyn SeriesBinaryUdf>>
sourceimpl From<FunctionExpr> for SpecialEq<Arc<dyn SeriesUdf>>
impl From<FunctionExpr> for SpecialEq<Arc<dyn SeriesUdf>>
sourcefn from(func: FunctionExpr) -> Self
fn from(func: FunctionExpr) -> Self
Converts to this type from the input type.
sourceimpl<T: ?Sized> PartialEq<SpecialEq<Arc<T>>> for SpecialEq<Arc<T>>
impl<T: ?Sized> PartialEq<SpecialEq<Arc<T>>> for SpecialEq<Arc<T>>
Auto Trait Implementations
impl<T> RefUnwindSafe for SpecialEq<T>where
T: RefUnwindSafe,
impl<T> Send for SpecialEq<T>where
T: Send,
impl<T> Sync for SpecialEq<T>where
T: Sync,
impl<T> Unpin for SpecialEq<T>where
T: Unpin,
impl<T> UnwindSafe for SpecialEq<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more