Module memtable_core::prelude [−][src]
Expand description
Contains relevant top-level traits, structs, and more to make use of this library
The MemTable Prelude
The memtable library comes with a variety of tools to help with building,
parsing, and transforming tables. While these could be brought in via a
mixture of use memtable::*;
and other imports, this prelude serves as
the one-stop shop to import required traits, common structs, and more
without polluting the namespace with public modules exposed by this crate.
Prelude contents
The current version of the prelude re-exports the following:
MemTable
struct, which is the core table available from this crate that acts as a table that can grow and shrink dynamicallyFixedTable
struct - available with Rust 1.51+ - provides a fixed-sized counterpart toMemTable
where the table is pre-allocated internally using a 2D arrayFixedRowTable
struct, where the total rows is fixed and columns can grow dynamicallyFixedColumnTable
struct, where the total columns is fixed and rows can grow dynamicallyTable
trait, which provides the majority of the methods available to operate on a tableiter::CellIter
trait, which enables examining the row & column positions of iterators over individual cells in a table as well as zip an iterator with the position of each cell
Re-exports
Structs
Represents an inmemory table containing rows & columns of some data T
with a fixed capacity across columns, but ability to grow dynamically with
rows
Represents an inmemory table containing rows & columns of some data T
with a fixed capacity across rows, but ability to grow dynamically with
columns
Represents an inmemory table containing rows & columns of some data T
with a fixed capacity across both rows and columns
Represents an inmemory table containing rows & columns of some data T
,
capable of growing and shrinking in size dynamically