pub struct BoolView { /* private fields */ }
Implementations§
source§impl BoolView
impl BoolView
sourcepub fn as_raw_ptr(&self) -> *const bool
pub fn as_raw_ptr(&self) -> *const bool
Raw pointer of the slice.
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 fn to_nulls_vec(&self) -> Vec<bool>
pub fn to_nulls_vec(&self) -> Vec<bool>
Build a nulls vector.
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<bool>
pub unsafe fn get_unchecked(&self, row: usize) -> Option<bool>
Get nullable value at row
index.
pub unsafe fn get_ref_unchecked(&self, row: usize) -> Option<*const bool>
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 slice(&self, range: Range<usize>) -> Option<Self>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BoolView
impl Send for BoolView
impl Sync for BoolView
impl Unpin for BoolView
impl UnwindSafe for BoolView
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