#[repr(C)]pub struct months_days_ns(pub i32, pub i32, pub i64);
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 From<Bytes16Alignment8> for months_days_ns
impl From<Bytes16Alignment8> for months_days_ns
Source§fn from(value: Bytes16Alignment8) -> Self
fn from(value: Bytes16Alignment8) -> Self
Converts to this type from the input type.
Source§impl From<months_days_ns> for Bytes16Alignment8
impl From<months_days_ns> for Bytes16Alignment8
Source§fn from(value: months_days_ns) -> Self
fn from(value: months_days_ns) -> Self
Converts to this type from the input type.
Source§impl Hash for months_days_ns
impl Hash for months_days_ns
Source§impl IsNull for months_days_ns
impl IsNull for months_days_ns
Source§impl MinMax for months_days_ns
impl MinMax for months_days_ns
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 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
.Source§type Bytes = [u8; 16]
type Bytes = [u8; 16]
Type denoting its representation as bytes.
This is
[u8; N]
where N = size_of::<T>
.Source§type AlignedBytes = Bytes16Alignment8
type AlignedBytes = Bytes16Alignment8
Type denoting its representation as aligned bytes. Read more
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 Ord for months_days_ns
impl Ord for months_days_ns
Source§fn cmp(&self, other: &months_days_ns) -> Ordering
fn cmp(&self, other: &months_days_ns) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for months_days_ns
impl PartialEq for months_days_ns
Source§impl PartialOrd for months_days_ns
impl PartialOrd for months_days_ns
Source§impl Simd for months_days_ns
impl Simd for months_days_ns
Source§type Simd = months_days_nsx8
type Simd = months_days_nsx8
The SIMD type associated with this trait.
This type supports SIMD operations
Source§impl TotalEq for months_days_ns
impl TotalEq for months_days_ns
Source§impl TotalOrd for months_days_ns
impl TotalOrd for months_days_ns
impl AlignedBytesCast<Bytes16Alignment8> for months_days_ns
impl Copy for months_days_ns
impl Eq for months_days_ns
impl Pod for months_days_ns
impl StructuralPartialEq for months_days_ns
Auto Trait Implementations§
impl Freeze for months_days_ns
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> 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,
Source§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§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§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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string()
Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more