pub struct BinColumnView<'c> { /* private fields */ }
Implementations§
Source§impl<'c> BinColumnView<'c>
impl<'c> BinColumnView<'c>
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
True if, and only if there are no valid rows in the column buffer.
Sourcepub fn get(&self, index: usize) -> Option<&'c [u8]>
pub fn get(&self, index: usize) -> Option<&'c [u8]>
Slice of text at the specified row index without terminating zero.
Sourcepub fn iter(&self) -> BinColumnIt<'c> ⓘ
pub fn iter(&self) -> BinColumnIt<'c> ⓘ
Iterator over the valid elements of the text buffer
Sourcepub fn has_truncated_values(&self) -> Option<Indicator>
pub fn has_truncated_values(&self) -> Option<Indicator>
Finds an indicator larger than max element in the range [0, num_rows).
After fetching data we may want to know if any value has been truncated due to the buffer not being able to hold elements of that size. This method checks the indicator buffer element wise.
Trait Implementations§
Source§impl<'c> Clone for BinColumnView<'c>
impl<'c> Clone for BinColumnView<'c>
Source§fn clone(&self) -> BinColumnView<'c>
fn clone(&self) -> BinColumnView<'c>
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<'c> Debug for BinColumnView<'c>
impl<'c> Debug for BinColumnView<'c>
impl<'c> Copy for BinColumnView<'c>
Auto Trait Implementations§
impl<'c> Freeze for BinColumnView<'c>
impl<'c> RefUnwindSafe for BinColumnView<'c>
impl<'c> Send for BinColumnView<'c>
impl<'c> Sync for BinColumnView<'c>
impl<'c> Unpin for BinColumnView<'c>
impl<'c> UnwindSafe for BinColumnView<'c>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)