Struct arrow2::types::months_days_ns
source · [−]#[repr(C)]pub struct months_days_ns(_, _, _);
Expand description
The in-memory representation of the MonthDayNano variant of the “Interval” logical type.
Implementations
Trait Implementations
sourceimpl Clone for months_days_ns
impl Clone for months_days_ns
sourcefn clone(&self) -> months_days_ns
fn clone(&self) -> months_days_ns
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for months_days_ns
impl Debug for months_days_ns
sourceimpl Default for months_days_ns
impl Default for months_days_ns
sourcefn default() -> months_days_ns
fn default() -> months_days_ns
Returns the “default value” for a type. Read more
sourceimpl Display for months_days_ns
impl Display for months_days_ns
sourceimpl Hash for months_days_ns
impl Hash for months_days_ns
sourceimpl NativeType for months_days_ns
impl NativeType for months_days_ns
sourceconst PRIMITIVE: PrimitiveType
const PRIMITIVE: PrimitiveType
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>
. Read more
sourcefn to_le_bytes(&self) -> Self::Bytes
fn to_le_bytes(&self) -> Self::Bytes
To bytes in little endian
sourcefn to_ne_bytes(&self) -> Self::Bytes
fn to_ne_bytes(&self) -> Self::Bytes
To bytes in native endian
sourcefn to_be_bytes(&self) -> Self::Bytes
fn to_be_bytes(&self) -> Self::Bytes
To bytes in big endian
sourcefn from_be_bytes(bytes: Self::Bytes) -> Self
fn from_be_bytes(bytes: Self::Bytes) -> Self
From bytes in big endian
sourceimpl Neg for months_days_ns
impl Neg for months_days_ns
sourceimpl PartialEq<months_days_ns> for months_days_ns
impl PartialEq<months_days_ns> for months_days_ns
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &months_days_ns) -> bool
fn ne(&self, other: &months_days_ns) -> bool
This method tests for !=
.
sourceimpl 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 Read more
sourceimpl Simd8 for months_days_ns
impl Simd8 for months_days_ns
type Simd = [months_days_ns; 8]
type Simd = [months_days_ns; 8]
The 8 lane representation of Self
sourceimpl Simd8Lanes<months_days_ns> for [months_days_ns; 8]
impl Simd8Lanes<months_days_ns> for [months_days_ns; 8]
sourcefn from_chunk(v: &[months_days_ns]) -> Self
fn from_chunk(v: &[months_days_ns]) -> Self
loads a complete chunk
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more