pub struct USmallIntView { /* private fields */ }
Implementations§
Source§impl USmallIntView
impl USmallIntView
Sourcepub fn as_raw_slice(&self) -> &[u16]
pub fn as_raw_slice(&self) -> &[u16]
Raw slice of target type.
Sourcepub fn as_raw_ptr(&self) -> *const u16
pub fn as_raw_ptr(&self) -> *const u16
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<u16>
pub unsafe fn get_unchecked(&self, row: usize) -> Option<u16>
Get nullable value at row
index.
pub unsafe fn get_ref_unchecked(&self, row: usize) -> Option<*const u16>
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: &USmallIntView) -> USmallIntView
Trait Implementations§
Source§impl Add<&USmallIntView> for USmallIntView
impl Add<&USmallIntView> for USmallIntView
Source§type Output = USmallIntView
type Output = USmallIntView
The resulting type after applying the
+
operator.Source§impl Add<USmallIntView> for &USmallIntView
impl Add<USmallIntView> for &USmallIntView
Source§type Output = USmallIntView
type Output = USmallIntView
The resulting type after applying the
+
operator.Source§impl Add for &USmallIntView
impl Add for &USmallIntView
Source§impl Add for USmallIntView
impl Add for USmallIntView
Source§impl Clone for USmallIntView
impl Clone for USmallIntView
Source§fn clone(&self) -> USmallIntView
fn clone(&self) -> USmallIntView
Returns a duplicate 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 USmallIntView
impl Debug for USmallIntView
Source§impl<A: Into<Option<u16>>> FromIterator<A> for USmallIntView
impl<A: Into<Option<u16>>> FromIterator<A> for USmallIntView
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 !Freeze for USmallIntView
impl RefUnwindSafe for USmallIntView
impl Send for USmallIntView
impl Sync for USmallIntView
impl Unpin for USmallIntView
impl UnwindSafe for USmallIntView
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