Struct arrow2::types::months_days_ns
source · Expand description
The in-memory representation of the MonthDayNano variant of the “Interval” logical type.
Tuple Fields§
§0: i32
§1: i32
§2: i64
Implementations§
Trait Implementations§
source§impl Clone for months_days_ns
impl Clone for months_days_ns
source§fn clone(&self) -> months_days_ns
fn clone(&self) -> months_days_ns
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for months_days_ns
impl Debug for months_days_ns
source§impl Default for months_days_ns
impl Default for months_days_ns
source§fn default() -> months_days_ns
fn default() -> months_days_ns
Returns the “default value” for a type. Read more
source§impl Display for months_days_ns
impl Display for months_days_ns
source§impl Hash for months_days_ns
impl Hash for months_days_ns
source§impl NativeType for months_days_ns
impl NativeType for months_days_ns
source§const PRIMITIVE: PrimitiveType = PrimitiveType::MonthDayNano
const PRIMITIVE: PrimitiveType = PrimitiveType::MonthDayNano
The corresponding variant of
PrimitiveType
.§type Bytes = [u8; 16]
type Bytes = [u8; 16]
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 Neg for months_days_ns
impl Neg for months_days_ns
source§impl PartialEq<months_days_ns> for months_days_ns
impl PartialEq<months_days_ns> for months_days_ns
source§fn eq(&self, other: &months_days_ns) -> bool
fn eq(&self, other: &months_days_ns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Simd for months_days_ns
impl Simd for months_days_ns
§type Simd = months_days_nsx8
type Simd = months_days_nsx8
The SIMD type associated with this trait.
This type supports SIMD operations
source§impl Simd8 for months_days_ns
Available on crate feature compute_comparison
only.
impl Simd8 for months_days_ns
Available on crate feature
compute_comparison
only.§type Simd = [months_days_ns; 8]
type Simd = [months_days_ns; 8]
The 8 lane representation of
Self
source§impl Simd8Lanes<months_days_ns> for [months_days_ns; 8]
Available on crate feature compute_comparison
only.
impl Simd8Lanes<months_days_ns> for [months_days_ns; 8]
Available on crate feature
compute_comparison
only.source§fn from_chunk(v: &[months_days_ns]) -> Self
fn from_chunk(v: &[months_days_ns]) -> Self
loads a complete chunk
source§fn from_incomplete_chunk(v: &[months_days_ns], remaining: months_days_ns) -> Self
fn from_incomplete_chunk(v: &[months_days_ns], remaining: months_days_ns) -> Self
loads an incomplete chunk, filling the remaining items with
remaining
.impl Copy for months_days_ns
impl Eq for months_days_ns
impl Pod for months_days_ns
impl StructuralEq for months_days_ns
impl StructuralPartialEq for months_days_ns
Auto Trait Implementations§
impl RefUnwindSafe for months_days_ns
impl Send for months_days_ns
impl Sync for months_days_ns
impl Unpin for months_days_ns
impl UnwindSafe for months_days_ns
Blanket Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.