Skip to main content

MergeChunk

Trait MergeChunk 

Source
pub trait MergeChunk<C: Columnar>: Default {
    // Required methods
    fn typed(&mut self) -> &mut C::Container;
    fn view(&self) -> BorrowedOf<'_, C>;
    fn is_empty(&self) -> bool;
}
Expand description

A chunk the merge and extract bodies below write to: the merger’s ColumnBody, and the column pager’s Column until that pager is retired.

Required Methods§

Source

fn typed(&mut self) -> &mut C::Container

The typed containers, for writing to.

Source

fn view(&self) -> BorrowedOf<'_, C>

The chunk as a columnar view.

Source

fn is_empty(&self) -> bool

True when the chunk holds no records.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§