Struct taos_query::common::raw::views::TinyIntView
source · pub struct TinyIntView { /* private fields */ }
Implementations§
source§impl TinyIntView
impl TinyIntView
sourcepub fn as_raw_slice(&self) -> &[i8]
pub fn as_raw_slice(&self) -> &[i8]
Raw slice of target type.
sourcepub fn as_raw_ptr(&self) -> *const i8
pub fn as_raw_ptr(&self) -> *const i8
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<i8>
pub unsafe fn get_unchecked(&self, row: usize) -> Option<i8>
Get nullable value at row
index.
pub unsafe fn get_ref_unchecked(&self, row: usize) -> Option<*const i8>
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)
pub fn concat(&self, rhs: &TinyIntView) -> TinyIntView
Trait Implementations§
source§impl Clone for TinyIntView
impl Clone for TinyIntView
source§fn clone(&self) -> TinyIntView
fn clone(&self) -> TinyIntView
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 TinyIntView
impl Debug for TinyIntView
source§impl<A: Into<Option<i8>>> FromIterator<A> for TinyIntView
impl<A: Into<Option<i8>>> FromIterator<A> for TinyIntView
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
Auto Trait Implementations§
impl RefUnwindSafe for TinyIntView
impl Send for TinyIntView
impl Sync for TinyIntView
impl Unpin for TinyIntView
impl UnwindSafe for TinyIntView
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