Struct polars_arrow::types::days_ms
source · #[repr(C)]pub struct days_ms(pub i32, pub i32);
Expand description
The in-memory representation of the DayMillisecond variant of arrow’s “Interval” logical type.
Tuple Fields§
§0: i32
§1: i32
Implementations§
Trait Implementations§
source§impl MinMax for days_ms
impl MinMax for days_ms
fn nan_min_lt(&self, other: &Self) -> bool
fn nan_max_lt(&self, other: &Self) -> bool
fn min_propagate_nan(self, other: Self) -> Self
fn max_propagate_nan(self, other: Self) -> Self
fn min_ignore_nan(self, other: Self) -> Self
fn max_ignore_nan(self, other: Self) -> Self
source§impl NativeType for days_ms
impl NativeType for days_ms
source§const PRIMITIVE: PrimitiveType = PrimitiveType::DaysMs
const PRIMITIVE: PrimitiveType = PrimitiveType::DaysMs
The corresponding variant of
PrimitiveType
.§type Bytes = [u8; 8]
type Bytes = [u8; 8]
Type denoting its representation as bytes.
This is
[u8; N]
where N = size_of::<T>
.source§fn to_le_bytes(&self) -> Self::Bytes
fn to_le_bytes(&self) -> Self::Bytes
To bytes in little endian
source§fn to_be_bytes(&self) -> Self::Bytes
fn to_be_bytes(&self) -> Self::Bytes
To bytes in big endian
source§fn from_le_bytes(bytes: Self::Bytes) -> Self
fn from_le_bytes(bytes: Self::Bytes) -> Self
From bytes in little endian
source§fn from_be_bytes(bytes: Self::Bytes) -> Self
fn from_be_bytes(bytes: Self::Bytes) -> Self
From bytes in big endian
source§impl Ord for days_ms
impl Ord for days_ms
source§impl PartialEq for days_ms
impl PartialEq for days_ms
source§impl PartialOrd for days_ms
impl PartialOrd for days_ms
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for days_ms
impl Eq for days_ms
impl Pod for days_ms
impl StructuralPartialEq for days_ms
Auto Trait Implementations§
impl Freeze for days_ms
impl RefUnwindSafe for days_ms
impl Send for days_ms
impl Sync for days_ms
impl Unpin for days_ms
impl UnwindSafe for days_ms
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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