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