Struct SpecialEq
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>>
pub fn map_fields<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
pub fn map_dtype<F>(f: F) -> SpecialEq<Arc<dyn FunctionOutputField>>
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>>
Trait Implementations§
§impl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
impl Default for SpecialEq<Arc<dyn BinaryUdfOutputField>>
§impl Default for SpecialEq<Arc<dyn ColumnBinaryUdf>>
impl Default for SpecialEq<Arc<dyn ColumnBinaryUdf>>
§impl Default for SpecialEq<Arc<dyn FunctionOutputField>>
impl Default for SpecialEq<Arc<dyn FunctionOutputField>>
§impl<'a> Deserialize<'a> for SpecialEq<Arc<DslPlan>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<DslPlan>>
Available on crate feature
serde
only.§fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<DslPlan>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<DslPlan>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn ColumnsUdf>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn ColumnsUdf>>
Available on crate feature
serde
only.§fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<dyn ColumnsUdf>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<dyn ColumnsUdf>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn FunctionOutputField>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn FunctionOutputField>>
Available on crate feature
serde
only.§fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<dyn FunctionOutputField>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Arc<dyn FunctionOutputField>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn RenameAliasFn>>
Available on crate feature serde
only.
impl<'a> Deserialize<'a> for SpecialEq<Arc<dyn RenameAliasFn>>
Available on crate feature
serde
only.§fn deserialize<D>(
_deserializer: D,
) -> Result<SpecialEq<Arc<dyn RenameAliasFn>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
_deserializer: D,
) -> Result<SpecialEq<Arc<dyn RenameAliasFn>>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§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.§fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Series>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpecialEq<Series>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<ArrayFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<ArrayFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: ArrayFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: ArrayFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<BinaryFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<BinaryFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: BinaryFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: BinaryFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<BooleanFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<BooleanFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: BooleanFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: BooleanFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<CategoricalFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<CategoricalFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: CategoricalFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: CategoricalFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<FunctionExpr> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<FunctionExpr> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: FunctionExpr) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: FunctionExpr) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<ListFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<ListFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: ListFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: ListFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<RangeFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<RangeFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: RangeFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: RangeFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<StringFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<StringFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: StringFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: StringFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<StructFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<StructFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: StructFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: StructFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl From<TemporalFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
impl From<TemporalFunction> for SpecialEq<Arc<dyn ColumnsUdf>>
§fn from(func: TemporalFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
fn from(func: TemporalFunction) -> SpecialEq<Arc<dyn ColumnsUdf>>
Converts to this type from the input type.
§impl Serialize for SpecialEq<Arc<DslPlan>>
Available on crate feature serde
only.
impl Serialize for SpecialEq<Arc<DslPlan>>
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Serialize for SpecialEq<Arc<dyn ColumnsUdf>>
Available on crate feature serde
only.
impl Serialize for SpecialEq<Arc<dyn ColumnsUdf>>
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Serialize for SpecialEq<Arc<dyn FunctionOutputField>>
Available on crate feature serde
only.
impl Serialize for SpecialEq<Arc<dyn FunctionOutputField>>
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Serialize for SpecialEq<Arc<dyn RenameAliasFn>>
Available on crate feature serde
only.
impl Serialize for SpecialEq<Arc<dyn RenameAliasFn>>
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Serialize for SpecialEq<Series>
Available on crate feature serde
only.
impl Serialize for SpecialEq<Series>
Available on crate feature
serde
only.§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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