Struct arrow2::array::BinaryArray [−][src]
pub struct BinaryArray<O: Offset> { /* fields omitted */ }
Implementations
pub fn iter(&'a self) -> ZipValidity<'a, &'a [u8], BinaryValueIter<'a, O>>ⓘNotable traits for ZipValidity<'a, T, I>
impl<'a, T, I: Iterator<Item = T>> Iterator for ZipValidity<'a, T, I> type Item = Option<T>;
pub fn iter(&'a self) -> ZipValidity<'a, &'a [u8], BinaryValueIter<'a, O>>ⓘNotable traits for ZipValidity<'a, T, I>
impl<'a, T, I: Iterator<Item = T>> Iterator for ZipValidity<'a, T, I> type Item = Option<T>;
Returns an iterator of Option<&[u8]>
Returns an iterator of &[u8]
Creates a new BinaryArray
from a slice of &[u8]
.
pub fn from_trusted_len_iter<I, P>(iterator: I) -> Self where
P: AsRef<[u8]>,
I: TrustedLen<Item = Option<P>>,
pub fn from_trusted_len_iter<I, P>(iterator: I) -> Self where
P: AsRef<[u8]>,
I: TrustedLen<Item = Option<P>>,
Creates a BinaryArray
from an iterator of trusted length.
Trait Implementations
The DataType
of the Array
. In combination with Array::as_any
, this can be
used to downcast trait objects (dyn Array
) to concrete arrays. Read more
Performs the conversion.
Performs the conversion.
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<O> RefUnwindSafe for BinaryArray<O> where
O: RefUnwindSafe,
impl<O> Send for BinaryArray<O>
impl<O> Sync for BinaryArray<O>
impl<O> Unpin for BinaryArray<O>
impl<O> UnwindSafe for BinaryArray<O> where
O: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V