pub struct SpecialEq<T>(/* private fields */);
Available on crate feature
lazy
only.Expand description
Wrapper type that has special equality properties depending on the inner type specialization
Implementations§
§impl SpecialEq<Arc<dyn FunctionOutputField>>
impl SpecialEq<Arc<dyn FunctionOutputField>>
pub fn same_type() -> SpecialEq<Arc<dyn FunctionOutputField>>
pub fn from_type(dt: DataType) -> SpecialEq<Arc<dyn FunctionOutputField>>
pub fn map_field<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>where F: 'static + Fn(&Field) -> Field + Send + Sync,
pub fn map_fields<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>where F: 'static + Fn(&[Field]) -> Field + Send + Sync,
pub fn map_dtype<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>where F: 'static + Fn(&DataType) -> DataType + Send + Sync,
pub fn float_type() -> SpecialEq<Arc<dyn FunctionOutputField>>
pub fn super_type() -> SpecialEq<Arc<dyn FunctionOutputField>>
pub fn map_dtypes<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>where F: 'static + Fn(&[&DataType]) -> DataType + Send + Sync,
Trait Implementations§
§impl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
impl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
§impl Default for SpecialEq<Arc<dyn FunctionOutputField>>
impl Default for SpecialEq<Arc<dyn FunctionOutputField>>
§impl Default for SpecialEq<Arc<dyn SeriesBinaryUdf>>
impl Default for SpecialEq<Arc<dyn SeriesBinaryUdf>>
§impl<T> PartialEq for SpecialEq<Arc<T>>where
T: ?Sized,
impl<T> PartialEq for SpecialEq<Arc<T>>where T: ?Sized,
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§
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