pub struct Logical<Logical, Physical>where
Logical: PolarsDataType,
Physical: PolarsDataType,{
pub phys: ChunkedArray<Physical>,
pub dtype: DataType,
/* private fields */
}
Expand description
Maps a logical type to a chunked array implementation of the physical type. This saves a lot of compiler bloat and allows us to reuse functionality.
Fields§
§phys: ChunkedArray<Physical>
§dtype: DataType
Implementations§
Source§impl<T> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
pub fn sort_with( &self, options: SortOptions, ) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
Sourcepub fn sort(
&self,
descending: bool,
) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
pub fn sort( &self, descending: bool, ) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
Returned a sorted ChunkedArray
.
Sourcepub fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
pub fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
Source§impl Logical<DecimalType, Int128Type>
impl Logical<DecimalType, Int128Type>
pub fn precision(&self) -> usize
pub fn scale(&self) -> usize
pub fn with_prec_scale( &self, prec: usize, scale: usize, strict: bool, ) -> Result<Cow<'_, Logical<DecimalType, Int128Type>>, PolarsError>
Sourcepub fn into_phys_with_prec_scale_or_sentinel(
&self,
prec: usize,
scale: usize,
sentinel: i128,
) -> ChunkedArray<Int128Type>
pub fn into_phys_with_prec_scale_or_sentinel( &self, prec: usize, scale: usize, sentinel: i128, ) -> ChunkedArray<Int128Type>
Converts self to a physical representation with the given precision and scale, returning the given sentinel value instead for values which don’t fit in the given precision and scale. This can be useful for comparisons.
Source§impl<T> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
pub fn is_enum(&self) -> bool
Sourcepub fn uses_lexical_ordering(&self) -> bool
pub fn uses_lexical_ordering(&self) -> bool
Return whether or not the CategoricalChunked
uses the lexical order
of the string values when sorting.
pub fn full_null_with_dtype( name: PlSmallStr, length: usize, dtype: DataType, ) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
Sourcepub fn from_cats_and_dtype(
cat_ids: ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>,
dtype: DataType,
) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
pub fn from_cats_and_dtype( cat_ids: ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, dtype: DataType, ) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
Create a CategoricalChunked
from a physical array and dtype.
Checks that all the category ids are valid, mapping invalid ones to nulls.
Sourcepub unsafe fn from_cats_and_dtype_unchecked(
cat_ids: ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>,
dtype: DataType,
) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
pub unsafe fn from_cats_and_dtype_unchecked( cat_ids: ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, dtype: DataType, ) -> Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>
Create a CategoricalChunked
from a physical array and dtype.
§Safety
It’s not checked that the indices are in-bounds or that the dtype is correct.
Sourcepub fn get_mapping(&self) -> &Arc<CategoricalMapping>
pub fn get_mapping(&self) -> &Arc<CategoricalMapping>
Get a reference to the mapping of categorical types to the string values.
Sourcepub fn iter_str(&self) -> impl PolarsIterator
pub fn iter_str(&self) -> impl PolarsIterator
Create an Iterator
that iterates over the &str
values of the CategoricalChunked
.
Sourcepub fn from_str_iter<'a, I>(
name: PlSmallStr,
dtype: DataType,
strings: I,
) -> Result<Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, PolarsError>
pub fn from_str_iter<'a, I>( name: PlSmallStr, dtype: DataType, strings: I, ) -> Result<Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, PolarsError>
Converts from strings to this CategoricalChunked.
If this dtype is an Enum any non-existing strings get mapped to null.
pub fn to_arrow( &self, compat_level: CompatLevel, ) -> DictionaryArray<<T as PolarsCategoricalType>::Native>
Source§impl<K, T> Logical<K, T>where
K: PolarsDataType,
T: PolarsDataType,
impl<K, T> Logical<K, T>where
K: PolarsDataType,
T: PolarsDataType,
Sourcepub unsafe fn new_logical(
phys: ChunkedArray<T>,
dtype: DataType,
) -> Logical<K, T>
pub unsafe fn new_logical( phys: ChunkedArray<T>, dtype: DataType, ) -> Logical<K, T>
§Safety
You must uphold the logical types’ invariants.
Source§impl<K, T> Logical<K, T>
impl<K, T> Logical<K, T>
pub fn name(&self) -> &PlSmallStr
pub fn rename(&mut self, name: PlSmallStr)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn null_count(&self) -> usize
pub fn has_nulls(&self) -> bool
pub fn is_null(&self) -> ChunkedArray<BooleanType>
pub fn is_not_null(&self) -> ChunkedArray<BooleanType>
pub fn split_at(&self, offset: i64) -> (Logical<K, T>, Logical<K, T>)
pub fn slice(&self, offset: i64, length: usize) -> Logical<K, T>
pub fn field(&self) -> Field
pub fn physical(&self) -> &ChunkedArray<T>
pub fn physical_mut(&mut self) -> &mut ChunkedArray<T>
pub fn into_physical(self) -> ChunkedArray<T>
Source§impl Logical<DateType, Int32Type>
impl Logical<DateType, Int32Type>
pub fn as_date_iter(&self) -> impl TrustedLen
Sourcepub fn from_naive_date<I>(
name: PlSmallStr,
v: I,
) -> Logical<DateType, Int32Type>where
I: IntoIterator<Item = NaiveDate>,
pub fn from_naive_date<I>(
name: PlSmallStr,
v: I,
) -> Logical<DateType, Int32Type>where
I: IntoIterator<Item = NaiveDate>,
Construct a new DateChunked
from an iterator over NaiveDate
.
Sourcepub fn to_string(
&self,
format: &str,
) -> Result<ChunkedArray<StringType>, PolarsError>
pub fn to_string( &self, format: &str, ) -> Result<ChunkedArray<StringType>, PolarsError>
Convert from Date into String with the given format. See chrono strftime/strptime.
Sourcepub fn strftime(
&self,
format: &str,
) -> Result<ChunkedArray<StringType>, PolarsError>
pub fn strftime( &self, format: &str, ) -> Result<ChunkedArray<StringType>, PolarsError>
Convert from Date into String with the given format. See chrono strftime/strptime.
Alias for to_string
.
Sourcepub fn from_naive_date_options<I>(
name: PlSmallStr,
v: I,
) -> Logical<DateType, Int32Type>
pub fn from_naive_date_options<I>( name: PlSmallStr, v: I, ) -> Logical<DateType, Int32Type>
Construct a new DateChunked
from an iterator over optional NaiveDate
.
Source§impl Logical<DatetimeType, Int64Type>
impl Logical<DatetimeType, Int64Type>
pub fn as_datetime_iter(&self) -> impl TrustedLen
pub fn time_unit(&self) -> TimeUnit
pub fn time_zone(&self) -> &Option<TimeZone>
Sourcepub fn to_string(
&self,
format: &str,
) -> Result<ChunkedArray<StringType>, PolarsError>
pub fn to_string( &self, format: &str, ) -> Result<ChunkedArray<StringType>, PolarsError>
Convert from Datetime into String with the given format. See chrono strftime/strptime.
Sourcepub fn strftime(
&self,
format: &str,
) -> Result<ChunkedArray<StringType>, PolarsError>
pub fn strftime( &self, format: &str, ) -> Result<ChunkedArray<StringType>, PolarsError>
Convert from Datetime into String with the given format. See chrono strftime/strptime.
Alias for to_string
.
Sourcepub fn from_naive_datetime<I>(
name: PlSmallStr,
v: I,
tu: TimeUnit,
) -> Logical<DatetimeType, Int64Type>where
I: IntoIterator<Item = NaiveDateTime>,
pub fn from_naive_datetime<I>(
name: PlSmallStr,
v: I,
tu: TimeUnit,
) -> Logical<DatetimeType, Int64Type>where
I: IntoIterator<Item = NaiveDateTime>,
Construct a new DatetimeChunked
from an iterator over NaiveDateTime
.
pub fn from_naive_datetime_options<I>( name: PlSmallStr, v: I, tu: TimeUnit, ) -> Logical<DatetimeType, Int64Type>
Sourcepub fn cast_time_unit(&self, tu: TimeUnit) -> Logical<DatetimeType, Int64Type>
pub fn cast_time_unit(&self, tu: TimeUnit) -> Logical<DatetimeType, Int64Type>
Change the underlying TimeUnit
. And update the data accordingly.
Sourcepub fn set_time_unit(&mut self, time_unit: TimeUnit)
pub fn set_time_unit(&mut self, time_unit: TimeUnit)
Change the underlying TimeUnit
. This does not modify the data.
Sourcepub fn set_time_zone(&mut self, time_zone: TimeZone) -> Result<(), PolarsError>
pub fn set_time_zone(&mut self, time_zone: TimeZone) -> Result<(), PolarsError>
Change the underlying TimeZone
. This does not modify the data.
This does not validate the time zone - it’s up to the caller to verify that it’s
already been validated.
Sourcepub fn set_time_unit_and_time_zone(
&mut self,
time_unit: TimeUnit,
time_zone: TimeZone,
) -> Result<(), PolarsError>
pub fn set_time_unit_and_time_zone( &mut self, time_unit: TimeUnit, time_zone: TimeZone, ) -> Result<(), PolarsError>
Source§impl Logical<DurationType, Int64Type>
impl Logical<DurationType, Int64Type>
pub fn time_unit(&self) -> TimeUnit
Sourcepub fn cast_time_unit(&self, tu: TimeUnit) -> Logical<DurationType, Int64Type>
pub fn cast_time_unit(&self, tu: TimeUnit) -> Logical<DurationType, Int64Type>
Change the underlying TimeUnit
. And update the data accordingly.
Sourcepub fn set_time_unit(&mut self, tu: TimeUnit)
pub fn set_time_unit(&mut self, tu: TimeUnit)
Change the underlying TimeUnit
. This does not modify the data.
Sourcepub fn to_string(
&self,
format: &str,
) -> Result<ChunkedArray<StringType>, PolarsError>
pub fn to_string( &self, format: &str, ) -> Result<ChunkedArray<StringType>, PolarsError>
Convert from Duration
to String; note that strftime
format
strings are not supported, only the specifiers ‘iso’ and ‘polars’.
Sourcepub fn from_duration<I>(
name: PlSmallStr,
v: I,
tu: TimeUnit,
) -> Logical<DurationType, Int64Type>where
I: IntoIterator<Item = TimeDelta>,
pub fn from_duration<I>(
name: PlSmallStr,
v: I,
tu: TimeUnit,
) -> Logical<DurationType, Int64Type>where
I: IntoIterator<Item = TimeDelta>,
Construct a new DurationChunked
from an iterator over ChronoDuration
.
Sourcepub fn from_duration_options<I>(
name: PlSmallStr,
v: I,
tu: TimeUnit,
) -> Logical<DurationType, Int64Type>
pub fn from_duration_options<I>( name: PlSmallStr, v: I, tu: TimeUnit, ) -> Logical<DurationType, Int64Type>
Construct a new DurationChunked
from an iterator over optional ChronoDuration
.
Source§impl Logical<TimeType, Int64Type>
impl Logical<TimeType, Int64Type>
Sourcepub fn to_string(&self, format: &str) -> ChunkedArray<StringType>
pub fn to_string(&self, format: &str) -> ChunkedArray<StringType>
Convert from Time into String with the given format. See chrono strftime/strptime.
Sourcepub fn strftime(&self, format: &str) -> ChunkedArray<StringType>
pub fn strftime(&self, format: &str) -> ChunkedArray<StringType>
Convert from Time into String with the given format. See chrono strftime/strptime.
Alias for to_string
.
pub fn as_time_iter(&self) -> impl TrustedLen
Sourcepub fn from_naive_time<I>(
name: PlSmallStr,
v: I,
) -> Logical<TimeType, Int64Type>where
I: IntoIterator<Item = NaiveTime>,
pub fn from_naive_time<I>(
name: PlSmallStr,
v: I,
) -> Logical<TimeType, Int64Type>where
I: IntoIterator<Item = NaiveTime>,
Construct a new TimeChunked
from an iterator over NaiveTime
.
Sourcepub fn from_naive_time_options<I>(
name: PlSmallStr,
v: I,
) -> Logical<TimeType, Int64Type>
pub fn from_naive_time_options<I>( name: PlSmallStr, v: I, ) -> Logical<TimeType, Int64Type>
Construct a new TimeChunked
from an iterator over optional NaiveTime
.
Trait Implementations§
Source§impl Add for &Logical<DecimalType, Int128Type>
impl Add for &Logical<DecimalType, Int128Type>
Source§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
+
operator.Source§fn add(
self,
rhs: &Logical<DecimalType, Int128Type>,
) -> <&Logical<DecimalType, Int128Type> as Add>::Output
fn add( self, rhs: &Logical<DecimalType, Int128Type>, ) -> <&Logical<DecimalType, Int128Type> as Add>::Output
+
operation. Read moreSource§impl<T> ChunkAggSeries for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: ChunkAgg<<T as PolarsCategoricalType>::Native>,
impl<T> ChunkAggSeries for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: ChunkAgg<<T as PolarsCategoricalType>::Native>,
Source§fn min_reduce(&self) -> Scalar
fn min_reduce(&self) -> Scalar
ChunkedArray
as a new Series
of length 1.Source§fn max_reduce(&self) -> Scalar
fn max_reduce(&self) -> Scalar
ChunkedArray
as a new Series
of length 1.Source§fn sum_reduce(&self) -> Scalar
fn sum_reduce(&self) -> Scalar
ChunkedArray
as a new Series
of length 1.Source§fn prod_reduce(&self) -> Scalar
fn prod_reduce(&self) -> Scalar
ChunkedArray
as a new Series
of length 1.Source§impl<T> ChunkCompareEq<&ChunkedArray<StringType>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<<T as PolarsCategoricalType>::Native, Item = ChunkedArray<BooleanType>>,
impl<T> ChunkCompareEq<&ChunkedArray<StringType>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<<T as PolarsCategoricalType>::Native, Item = ChunkedArray<BooleanType>>,
type Item = ChunkedArray<BooleanType>
Source§fn equal(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
fn equal( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
Source§fn equal_missing(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
fn equal_missing( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
None == None
.Source§fn not_equal(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
fn not_equal( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
Source§fn not_equal_missing(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
fn not_equal_missing( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&ChunkedArray<StringType>>>::Item
None == None
.Source§impl<T> ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<&'a ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, Item = ChunkedArray<BooleanType>>,
impl<T> ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<&'a ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, Item = ChunkedArray<BooleanType>>,
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§fn equal(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn equal( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§fn equal_missing(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn equal_missing( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
None == None
.Source§fn not_equal(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn not_equal( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§fn not_equal_missing(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn not_equal_missing( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
None == None
.Source§impl<T> ChunkCompareEq<&str> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<<T as PolarsCategoricalType>::Native, Item = ChunkedArray<BooleanType>>,
impl<T> ChunkCompareEq<&str> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareEq<<T as PolarsCategoricalType>::Native, Item = ChunkedArray<BooleanType>>,
type Item = ChunkedArray<BooleanType>
Source§fn equal(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
fn equal( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
Source§fn equal_missing(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
fn equal_missing( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
None == None
.Source§fn not_equal(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
fn not_equal( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
Source§fn not_equal_missing(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
fn not_equal_missing( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareEq<&str>>::Item
None == None
.Source§impl<T> ChunkCompareIneq<&ChunkedArray<StringType>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> ChunkCompareIneq<&ChunkedArray<StringType>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§fn gt(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
fn gt( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
Source§fn gt_eq(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
fn gt_eq( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
Source§fn lt(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
fn lt( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
Source§fn lt_eq(
&self,
rhs: &ChunkedArray<StringType>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
fn lt_eq( &self, rhs: &ChunkedArray<StringType>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&ChunkedArray<StringType>>>::Item
Source§impl<T> ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareIneq<&'a ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, Item = ChunkedArray<BooleanType>>,
impl<T> ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>: for<'a> ChunkCompareIneq<&'a ChunkedArray<<T as PolarsCategoricalType>::PolarsPhysical>, Item = ChunkedArray<BooleanType>>,
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§fn gt(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn gt( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§fn gt_eq(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn gt_eq( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§fn lt(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn lt( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§fn lt_eq(
&self,
rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
fn lt_eq( &self, rhs: &Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>>>::Item
Source§impl<T> ChunkCompareIneq<&str> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> ChunkCompareIneq<&str> for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
type Item = ChunkedArray<BooleanType>
Source§fn gt(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
fn gt( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
Source§fn gt_eq(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
fn gt_eq( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
Source§fn lt(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
fn lt( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
Source§fn lt_eq(
&self,
rhs: &str,
) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
fn lt_eq( &self, rhs: &str, ) -> <Logical<T, <T as PolarsCategoricalType>::PolarsPhysical> as ChunkCompareIneq<&str>>::Item
Source§impl<K, T> Clone for Logical<K, T>where
K: PolarsDataType,
T: PolarsDataType,
impl<K, T> Clone for Logical<K, T>where
K: PolarsDataType,
T: PolarsDataType,
Source§impl DateMethods for Logical<DateType, Int32Type>
impl DateMethods for Logical<DateType, Int32Type>
fn parse_from_str_slice( name: PlSmallStr, v: &[&str], fmt: &str, ) -> Logical<DateType, Int32Type>
Source§fn year(&self) -> ChunkedArray<Int32Type>
fn year(&self) -> ChunkedArray<Int32Type>
Source§fn is_leap_year(&self) -> ChunkedArray<BooleanType>
fn is_leap_year(&self) -> ChunkedArray<BooleanType>
Source§fn iso_year(&self) -> ChunkedArray<Int32Type>
fn iso_year(&self) -> ChunkedArray<Int32Type>
Source§fn quarter(&self) -> ChunkedArray<Int8Type>
fn quarter(&self) -> ChunkedArray<Int8Type>
Source§fn month(&self) -> ChunkedArray<Int8Type>
fn month(&self) -> ChunkedArray<Int8Type>
Source§fn days_in_month(&self) -> ChunkedArray<Int8Type>
fn days_in_month(&self) -> ChunkedArray<Int8Type>
Source§fn week(&self) -> ChunkedArray<Int8Type>
fn week(&self) -> ChunkedArray<Int8Type>
Source§fn day(&self) -> ChunkedArray<Int8Type>
fn day(&self) -> ChunkedArray<Int8Type>
Source§fn ordinal(&self) -> ChunkedArray<Int16Type>
fn ordinal(&self) -> ChunkedArray<Int16Type>
Source§fn new_from_parts(
year: &ChunkedArray<Int32Type>,
month: &ChunkedArray<Int8Type>,
day: &ChunkedArray<Int8Type>,
name: PlSmallStr,
) -> Result<Logical<DateType, Int32Type>, PolarsError>
fn new_from_parts( year: &ChunkedArray<Int32Type>, month: &ChunkedArray<Int8Type>, day: &ChunkedArray<Int8Type>, name: PlSmallStr, ) -> Result<Logical<DateType, Int32Type>, PolarsError>
Source§impl DatetimeMethods for Logical<DatetimeType, Int64Type>
impl DatetimeMethods for Logical<DatetimeType, Int64Type>
Source§fn year(&self) -> ChunkedArray<Int32Type>
fn year(&self) -> ChunkedArray<Int32Type>
Source§fn is_leap_year(&self) -> ChunkedArray<BooleanType>
fn is_leap_year(&self) -> ChunkedArray<BooleanType>
fn iso_year(&self) -> ChunkedArray<Int32Type>
Source§fn quarter(&self) -> ChunkedArray<Int8Type>
fn quarter(&self) -> ChunkedArray<Int8Type>
Source§fn month(&self) -> ChunkedArray<Int8Type>
fn month(&self) -> ChunkedArray<Int8Type>
Source§fn days_in_month(&self) -> ChunkedArray<Int8Type>
fn days_in_month(&self) -> ChunkedArray<Int8Type>
Source§fn weekday(&self) -> ChunkedArray<Int8Type>
fn weekday(&self) -> ChunkedArray<Int8Type>
Source§fn week(&self) -> ChunkedArray<Int8Type>
fn week(&self) -> ChunkedArray<Int8Type>
Source§fn day(&self) -> ChunkedArray<Int8Type>
fn day(&self) -> ChunkedArray<Int8Type>
Source§fn hour(&self) -> ChunkedArray<Int8Type>
fn hour(&self) -> ChunkedArray<Int8Type>
Source§fn minute(&self) -> ChunkedArray<Int8Type>
fn minute(&self) -> ChunkedArray<Int8Type>
Source§fn second(&self) -> ChunkedArray<Int8Type>
fn second(&self) -> ChunkedArray<Int8Type>
Source§fn nanosecond(&self) -> ChunkedArray<Int32Type>
fn nanosecond(&self) -> ChunkedArray<Int32Type>
Source§fn ordinal(&self) -> ChunkedArray<Int16Type>
fn ordinal(&self) -> ChunkedArray<Int16Type>
fn parse_from_str_slice( name: PlSmallStr, v: &[&str], fmt: &str, tu: TimeUnit, ) -> Logical<DatetimeType, Int64Type>
Source§fn new_from_parts(
year: &ChunkedArray<Int32Type>,
month: &ChunkedArray<Int8Type>,
day: &ChunkedArray<Int8Type>,
hour: &ChunkedArray<Int8Type>,
minute: &ChunkedArray<Int8Type>,
second: &ChunkedArray<Int8Type>,
nanosecond: &ChunkedArray<Int32Type>,
ambiguous: &ChunkedArray<StringType>,
time_unit: &TimeUnit,
time_zone: Option<TimeZone>,
name: PlSmallStr,
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
fn new_from_parts( year: &ChunkedArray<Int32Type>, month: &ChunkedArray<Int8Type>, day: &ChunkedArray<Int8Type>, hour: &ChunkedArray<Int8Type>, minute: &ChunkedArray<Int8Type>, second: &ChunkedArray<Int8Type>, nanosecond: &ChunkedArray<Int32Type>, ambiguous: &ChunkedArray<StringType>, time_unit: &TimeUnit, time_zone: Option<TimeZone>, name: PlSmallStr, ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Source§impl Div for &Logical<DecimalType, Int128Type>
impl Div for &Logical<DecimalType, Int128Type>
Source§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
/
operator.Source§fn div(
self,
rhs: &Logical<DecimalType, Int128Type>,
) -> <&Logical<DecimalType, Int128Type> as Div>::Output
fn div( self, rhs: &Logical<DecimalType, Int128Type>, ) -> <&Logical<DecimalType, Int128Type> as Div>::Output
/
operation. Read moreSource§impl DurationMethods for Logical<DurationType, Int64Type>
impl DurationMethods for Logical<DurationType, Int64Type>
Source§fn hours(&self) -> ChunkedArray<Int64Type>
fn hours(&self) -> ChunkedArray<Int64Type>
Extract the hours from a Duration
Source§fn days(&self) -> ChunkedArray<Int64Type>
fn days(&self) -> ChunkedArray<Int64Type>
Extract the days from a Duration
Source§fn minutes(&self) -> ChunkedArray<Int64Type>
fn minutes(&self) -> ChunkedArray<Int64Type>
Extract the seconds from a Duration
Source§fn seconds(&self) -> ChunkedArray<Int64Type>
fn seconds(&self) -> ChunkedArray<Int64Type>
Extract the seconds from a Duration
Source§fn milliseconds(&self) -> ChunkedArray<Int64Type>
fn milliseconds(&self) -> ChunkedArray<Int64Type>
Extract the milliseconds from a Duration
Source§fn microseconds(&self) -> ChunkedArray<Int64Type>
fn microseconds(&self) -> ChunkedArray<Int64Type>
Extract the microseconds from a Duration
Source§fn nanoseconds(&self) -> ChunkedArray<Int64Type>
fn nanoseconds(&self) -> ChunkedArray<Int64Type>
Extract the nanoseconds from a Duration
Source§impl IntoSeries for Logical<DatetimeType, Int64Type>
impl IntoSeries for Logical<DatetimeType, Int64Type>
Source§impl IntoSeries for Logical<DecimalType, Int128Type>
impl IntoSeries for Logical<DecimalType, Int128Type>
Source§impl IntoSeries for Logical<DurationType, Int64Type>
impl IntoSeries for Logical<DurationType, Int64Type>
Source§impl<T> IntoSeries for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> IntoSeries for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
Source§impl LogicalType for Logical<DateType, Int32Type>
impl LogicalType for Logical<DateType, Int32Type>
Source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl LogicalType for Logical<DatetimeType, Int64Type>
impl LogicalType for Logical<DatetimeType, Int64Type>
Source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl LogicalType for Logical<DecimalType, Int128Type>
impl LogicalType for Logical<DecimalType, Int128Type>
Source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl LogicalType for Logical<DurationType, Int64Type>
impl LogicalType for Logical<DurationType, Int64Type>
Source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl<T> LogicalType for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
impl<T> LogicalType for Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>where
T: PolarsCategoricalType,
Source§fn dtype(&self) -> &DataType
fn dtype(&self) -> &DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl LogicalType for Logical<TimeType, Int64Type>
impl LogicalType for Logical<TimeType, Int64Type>
Source§fn dtype(&self) -> &'static DataType
fn dtype(&self) -> &'static DataType
ChunkedArray
.Source§fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
AnyValue
from LogicalType
fn cast_with_options( &self, dtype: &DataType, cast_options: CastOptions, ) -> Result<Series, PolarsError>
fn cast(&self, dtype: &DataType) -> Result<Series, PolarsError>
Source§impl Mul for &Logical<DecimalType, Int128Type>
impl Mul for &Logical<DecimalType, Int128Type>
Source§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
*
operator.Source§fn mul(
self,
rhs: &Logical<DecimalType, Int128Type>,
) -> <&Logical<DecimalType, Int128Type> as Mul>::Output
fn mul( self, rhs: &Logical<DecimalType, Int128Type>, ) -> <&Logical<DecimalType, Int128Type> as Mul>::Output
*
operation. Read moreSource§impl<T> NamedFrom<T, [NaiveDateTime]> for Logical<DatetimeType, Int64Type>where
T: AsRef<[NaiveDateTime]>,
impl<T> NamedFrom<T, [NaiveDateTime]> for Logical<DatetimeType, Int64Type>where
T: AsRef<[NaiveDateTime]>,
Source§fn new(name: PlSmallStr, v: T) -> Logical<DatetimeType, Int64Type>
fn new(name: PlSmallStr, v: T) -> Logical<DatetimeType, Int64Type>
Source§impl<T> NamedFrom<T, [Option<NaiveDateTime>]> for Logical<DatetimeType, Int64Type>
impl<T> NamedFrom<T, [Option<NaiveDateTime>]> for Logical<DatetimeType, Int64Type>
Source§fn new(name: PlSmallStr, v: T) -> Logical<DatetimeType, Int64Type>
fn new(name: PlSmallStr, v: T) -> Logical<DatetimeType, Int64Type>
Source§impl<T> NamedFrom<T, [Option<TimeDelta>]> for Logical<DurationType, Int64Type>
impl<T> NamedFrom<T, [Option<TimeDelta>]> for Logical<DurationType, Int64Type>
Source§fn new(name: PlSmallStr, v: T) -> Logical<DurationType, Int64Type>
fn new(name: PlSmallStr, v: T) -> Logical<DurationType, Int64Type>
Source§impl<T> NamedFrom<T, [TimeDelta]> for Logical<DurationType, Int64Type>
impl<T> NamedFrom<T, [TimeDelta]> for Logical<DurationType, Int64Type>
Source§fn new(name: PlSmallStr, v: T) -> Logical<DurationType, Int64Type>
fn new(name: PlSmallStr, v: T) -> Logical<DurationType, Int64Type>
Source§impl PolarsRound for Logical<DateType, Int32Type>
impl PolarsRound for Logical<DateType, Int32Type>
fn round( &self, every: &ChunkedArray<StringType>, _tz: Option<&Tz>, ) -> Result<Logical<DateType, Int32Type>, PolarsError>
Source§impl PolarsRound for Logical<DatetimeType, Int64Type>
impl PolarsRound for Logical<DatetimeType, Int64Type>
fn round( &self, every: &ChunkedArray<StringType>, tz: Option<&Tz>, ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Source§impl PolarsTruncate for Logical<DateType, Int32Type>
impl PolarsTruncate for Logical<DateType, Int32Type>
fn truncate( &self, _tz: Option<&Tz>, every: &ChunkedArray<StringType>, ) -> Result<Logical<DateType, Int32Type>, PolarsError>
Source§impl PolarsTruncate for Logical<DatetimeType, Int64Type>
impl PolarsTruncate for Logical<DatetimeType, Int64Type>
fn truncate( &self, tz: Option<&Tz>, every: &ChunkedArray<StringType>, ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Source§impl Sub for &Logical<DecimalType, Int128Type>
impl Sub for &Logical<DecimalType, Int128Type>
Source§type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
type Output = Result<Logical<DecimalType, Int128Type>, PolarsError>
-
operator.Source§fn sub(
self,
rhs: &Logical<DecimalType, Int128Type>,
) -> <&Logical<DecimalType, Int128Type> as Sub>::Output
fn sub( self, rhs: &Logical<DecimalType, Int128Type>, ) -> <&Logical<DecimalType, Int128Type> as Sub>::Output
-
operation. Read moreSource§impl TimeMethods for Logical<TimeType, Int64Type>
impl TimeMethods for Logical<TimeType, Int64Type>
Source§fn hour(&self) -> ChunkedArray<Int8Type>
fn hour(&self) -> ChunkedArray<Int8Type>
Extract hour from underlying NaiveDateTime representation. Returns the hour number from 0 to 23.
Source§fn minute(&self) -> ChunkedArray<Int8Type>
fn minute(&self) -> ChunkedArray<Int8Type>
Extract minute from underlying NaiveDateTime representation. Returns the minute number from 0 to 59.
Source§fn second(&self) -> ChunkedArray<Int8Type>
fn second(&self) -> ChunkedArray<Int8Type>
Extract second from underlying NaiveDateTime representation. Returns the second number from 0 to 59.
Source§fn nanosecond(&self) -> ChunkedArray<Int32Type>
fn nanosecond(&self) -> ChunkedArray<Int32Type>
Extract second from underlying NaiveDateTime representation. Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.
fn parse_from_str_slice( name: PlSmallStr, v: &[&str], fmt: &str, ) -> Logical<TimeType, Int64Type>
Auto Trait Implementations§
impl<Logical, Physical> !Freeze for Logical<Logical, Physical>
impl<Logical, Physical> !RefUnwindSafe for Logical<Logical, Physical>
impl<Logical, Physical> Send for Logical<Logical, Physical>
impl<Logical, Physical> Sync for Logical<Logical, Physical>
impl<Logical, Physical> Unpin for Logical<Logical, Physical>
impl<Logical, Physical> !UnwindSafe for Logical<Logical, Physical>
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
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> IntoColumn for Twhere
T: IntoSeries,
impl<T> IntoColumn for Twhere
T: IntoSeries,
fn into_column(self) -> Column
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> ⓘ
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> ⓘ
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