pub struct ColumnView<'a> { /* private fields */ }Implementations§
Source§impl<'a> ColumnView<'a>
impl<'a> ColumnView<'a>
pub fn name(&self) -> &'a str
pub fn type_code(&self) -> ColumnTypeCode
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn raw(&self) -> BorrowedColumn<'a>
pub fn defined_bitvec(&self) -> Option<&'a [u8]>
pub fn is_defined(&self, index: usize) -> bool
pub fn u8(&self) -> Option<&'a [u8]>
pub fn u16(&self) -> Option<&'a [u16]>
pub fn u32(&self) -> Option<&'a [u32]>
pub fn u64(&self) -> Option<&'a [u64]>
pub fn u128(&self) -> Option<&'a [u128]>
pub fn i8(&self) -> Option<&'a [i8]>
pub fn i16(&self) -> Option<&'a [i16]>
pub fn i32(&self) -> Option<&'a [i32]>
pub fn i64(&self) -> Option<&'a [i64]>
pub fn i128(&self) -> Option<&'a [i128]>
pub fn f32(&self) -> Option<&'a [f32]>
pub fn f64(&self) -> Option<&'a [f64]>
pub fn bool_iter(&self) -> Option<BoolIter<'a>>
pub fn utf8_iter(&self) -> Option<impl Iterator<Item = &'a str> + 'a>
pub fn blob_iter(&self) -> Option<impl Iterator<Item = &'a [u8]> + 'a>
pub fn decimal_iter(&self) -> Option<impl Iterator<Item = Option<Decimal>> + 'a>
pub fn to_u64_vec(&self) -> Option<Vec<u64>>
pub fn to_i64_vec(&self) -> Option<Vec<i64>>
pub fn to_f64_vec(&self) -> Option<Vec<f64>>
Trait Implementations§
Source§impl<'a> Clone for ColumnView<'a>
impl<'a> Clone for ColumnView<'a>
Source§fn clone(&self) -> ColumnView<'a>
fn clone(&self) -> ColumnView<'a>
Returns a duplicate 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 moreimpl<'a> Copy for ColumnView<'a>
Auto Trait Implementations§
impl<'a> Freeze for ColumnView<'a>
impl<'a> RefUnwindSafe for ColumnView<'a>
impl<'a> !Send for ColumnView<'a>
impl<'a> !Sync for ColumnView<'a>
impl<'a> Unpin for ColumnView<'a>
impl<'a> UnsafeUnpin for ColumnView<'a>
impl<'a> UnwindSafe for ColumnView<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more