pub struct Block { /* private fields */ }
Implementations§
Source§impl Block
impl Block
pub fn size(&self) -> usize
pub fn num_restarts(&self) -> u32
Sourcepub fn new(contents: &BlockContents) -> Self
pub fn new(contents: &BlockContents) -> Self
| Initialize the block with the specified | contents. |
pub fn new_iterator( &mut self, comparator: Box<dyn SliceComparator>, ) -> *mut LevelDBIterator
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more