Skip to main content

TimeArray

Type Alias TimeArray 

Source
pub type TimeArray = PrimitiveArray<Time>;

Aliased Type§

pub struct TimeArray {
    bitmap: Bitmap,
    data: Box<[Time]>,
}

Fields§

§bitmap: Bitmap§data: Box<[Time]>

Trait Implementations§

Source§

impl<'a> From<&'a ArrayImpl> for &'a TimeArray

Source§

fn from(array: &'a ArrayImpl) -> Self

Converts to this type from the input type.
Source§

impl From<ArrayImpl> for TimeArray

Source§

fn from(array: ArrayImpl) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<&PrimitiveArray<Time32MillisecondType>> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(array: &Time32MillisecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<Time32SecondType>> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(array: &Time32SecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<Time64MicrosecondType>> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(array: &Time64MicrosecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<Time64NanosecondType>> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(array: &Time64NanosecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<Time32MillisecondType>]> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(arrays: &[Time32MillisecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<Time32SecondType>]> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(arrays: &[Time32SecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<Time64MicrosecondType>]> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(arrays: &[Time64MicrosecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<Time64NanosecondType>]> for TimeArray

Source§

type Error = ArrayError

The type returned in the event of a conversion error.
Source§

fn try_from(arrays: &[Time64NanosecondArray]) -> Result<Self, Self::Error>

Performs the conversion.