Struct odbc_api::buffers::BinColumnView
source · [−]pub struct BinColumnView<'c> { /* private fields */ }
Implementations
sourceimpl<'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>ⓘNotable traits for BinColumnIt<'c>impl<'c> Iterator for BinColumnIt<'c> type Item = Option<&'c [u8]>;
pub fn iter(&self) -> BinColumnIt<'c>ⓘNotable traits for BinColumnIt<'c>impl<'c> Iterator for BinColumnIt<'c> type Item = Option<&'c [u8]>;
Iterator over the valid elements of the text buffer
Trait Implementations
sourceimpl<'c> Clone for BinColumnView<'c>
impl<'c> Clone for BinColumnView<'c>
sourcefn clone(&self) -> BinColumnView<'c>
fn clone(&self) -> BinColumnView<'c>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'c> Debug for BinColumnView<'c>
impl<'c> Debug for BinColumnView<'c>
impl<'c> Copy for BinColumnView<'c>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more