Struct taos_query::common::raw::views::UTinyIntView
source · pub struct UTinyIntView { /* private fields */ }Implementations§
source§impl UTinyIntView
impl UTinyIntView
sourcepub fn as_raw_slice(&self) -> &[u8] ⓘ
pub fn as_raw_slice(&self) -> &[u8] ⓘ
Raw slice of target type.
sourcepub fn as_raw_ptr(&self) -> *const u8
pub fn as_raw_ptr(&self) -> *const u8
Raw pointer of the slice.
sourcepub fn to_nulls_vec(&self) -> Vec<bool>
pub fn to_nulls_vec(&self) -> Vec<bool>
Build a nulls vector.
sourcepub fn is_null_iter(&self) -> NullsIter<'_>
pub fn is_null_iter(&self) -> NullsIter<'_>
A iterator only decide if the value at some row index is NULL or not.
sourcepub unsafe fn is_null_unchecked(&self, row: usize) -> bool
pub unsafe fn is_null_unchecked(&self, row: usize) -> bool
Unsafe version for [methods.is_null]
sourcepub unsafe fn get_unchecked(&self, row: usize) -> Option<u8>
pub unsafe fn get_unchecked(&self, row: usize) -> Option<u8>
Get nullable value at row index.
pub unsafe fn get_ref_unchecked(&self, row: usize) -> Option<*const u8>
pub unsafe fn get_value_unchecked(&self, row: usize) -> BorrowedValue<'_>
pub unsafe fn get_raw_value_unchecked( &self, row: usize ) -> (Ty, u32, *const c_void)
Trait Implementations§
source§impl Clone for UTinyIntView
impl Clone for UTinyIntView
source§fn clone(&self) -> UTinyIntView
fn clone(&self) -> UTinyIntView
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 UTinyIntView
impl Debug for UTinyIntView
source§impl<A: Into<Option<u8>>> FromIterator<A> for UTinyIntView
impl<A: Into<Option<u8>>> FromIterator<A> for UTinyIntView
source§fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self
Creates a value from an iterator. Read more