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

Will panic if there's no row data

Will panic if there's no null data

Pointer to the beginning of the raw row data. ptr can be nil

Pointer to the beginning of the raw row data. ptr can be nil

Implementors