Skip to main content

CompressedBuilder

Trait CompressedBuilder 

Source
pub trait CompressedBuilder: Sized {
    // Required methods
    fn new(num_of_values: usize, max_value: usize) -> Self;
    fn push(&mut self, value: usize);

    // Provided method
    fn with_all(values: Vec<usize>, last: usize) -> Self { ... }
}
Expand description

Builder used to construct CompressedArray.

Required Methods§

Source

fn new(num_of_values: usize, max_value: usize) -> Self

Source

fn push(&mut self, value: usize)

Provided Methods§

Source

fn with_all(values: Vec<usize>, last: usize) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CompressedBuilder for EliasFanoBuilder

Available on crate feature sux only.
Source§

fn new(num_of_values: usize, max_value: usize) -> Self

Source§

fn push(&mut self, value: usize)

Implementors§