Struct bitcoinleveldb_table::Block
source · 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§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more