Struct theban_db::Bitmap [] [src]

pub struct Bitmap {
    pub entry_size: u64,
    pub data: Vec<u8>,
}

Fields

entry_size: u64 data: Vec<u8>

Methods

impl Bitmap
[src]

fn new(es: u64, data: Vec<u8>) -> Bitmap

fn to_subslice(&self, data_range: Range, restriction_range: Range) -> BitmapSlice

fn to_subbitmap(&self, data_range: Range, restriction_range: Range) -> Bitmap

fn merge_bitmaps(self, data_range: Range, merge_partners: Vec<(Range, Bitmap)>) -> (Range, Bitmap)

Trait Implementations

impl Debug for Bitmap
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Bitmap
[src]

fn eq(&self, __arg_0: &Bitmap) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Bitmap) -> bool

This method tests for !=.

impl Clone for Bitmap
[src]

fn clone(&self) -> Bitmap

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more