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
&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)
self,
data_range: Range,
merge_partners: Vec<(Range, Bitmap)>
) -> (Range, Bitmap)
Trait Implementations
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
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 Debug for Bitmap
[src]
impl Encodable for Bitmap
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.