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>
pub fn concat(&self, rhs: &BoolView) -> BoolView
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BoolView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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