Trait dbkit_engine::block::RefColumn
[−]
[src]
pub trait RefColumn<'re> {
fn attribute(&self) -> &Attribute;
fn capacity(&self) -> usize;
fn rows_raw_slice(&'re self) -> &'re [u8];
fn nulls_raw_slice(&'re self) -> &'re [u8];
unsafe fn rows_ptr(&self) -> *const u8;
unsafe fn nulls_ptr(&self) -> *const u8;
}Trait representing a reference to column data. Data can be owned by current object or references from another one.
Required Methods
fn attribute(&self) -> &Attribute
fn capacity(&self) -> usize
fn rows_raw_slice(&'re self) -> &'re [u8]
Will panic if there's no row data
fn nulls_raw_slice(&'re self) -> &'re [u8]
Will panic if there's no null data
unsafe fn rows_ptr(&self) -> *const u8
Pointer to the beginning of the raw row data. ptr can be nil
unsafe fn nulls_ptr(&self) -> *const u8
Pointer to the beginning of the raw row data. ptr can be nil
Implementors
impl<'parent> RefColumn<'parent> for AliasColumn<'parent>impl<'alloc> RefColumn<'alloc> for Column<'alloc>