Struct polars_plan::dsl::SpecialEq
source · pub struct SpecialEq<T>(/* private fields */);
Expand description
Wrapper type that has special equality properties depending on the inner type specialization
Implementations§
source§impl SpecialEq<Arc<dyn FunctionOutputField>>
impl SpecialEq<Arc<dyn FunctionOutputField>>
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 float_type() -> Self
pub fn super_type() -> Self
pub fn map_dtypes<F>(f: F) -> Self
Trait Implementations§
source§impl<'a> Deserialize<'a> for SpecialEq<Arc<LogicalPlan>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<LogicalPlan>>
Available on crate feature
serde
only.source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn SeriesUdf>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn SeriesUdf>>
Available on crate feature
serde
only.source§fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> Deserialize<'a> for SpecialEq<Series>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Series>
Available on crate feature
serde
only.source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BooleanFunction> for SpecialEq<Arc<dyn SeriesUdf>>
impl From<BooleanFunction> for SpecialEq<Arc<dyn SeriesUdf>>
source§fn from(func: BooleanFunction) -> Self
fn from(func: BooleanFunction) -> Self
Converts to this type from the input type.
source§impl From<FunctionExpr> for SpecialEq<Arc<dyn SeriesUdf>>
impl From<FunctionExpr> for SpecialEq<Arc<dyn SeriesUdf>>
source§fn from(func: FunctionExpr) -> Self
fn from(func: FunctionExpr) -> Self
Converts to this type from the input type.
source§impl<T: ?Sized> PartialEq for SpecialEq<Arc<T>>
impl<T: ?Sized> PartialEq for SpecialEq<Arc<T>>
source§impl PartialEq for SpecialEq<Series>
impl PartialEq for SpecialEq<Series>
Auto Trait Implementations§
impl<T> Freeze for SpecialEq<T>where
T: Freeze,
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§
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