pub struct IndexCursor<Conf: Config> { /* private fields */ }Expand description
Index iterator cursor.
Created by IndexIter::cursor(), used by IndexIter::move_to(). Also can be built from index and DataBlock.
Same as BlockCursor, but for indices iterator.
Implementations§
Trait Implementations§
Source§impl<Conf: Config> Clone for IndexCursor<Conf>
impl<Conf: Config> Clone for IndexCursor<Conf>
Source§impl<Conf: Config> Default for IndexCursor<Conf>
impl<Conf: Config> Default for IndexCursor<Conf>
Source§impl<Conf: Config> From<&DataBlock<<Conf as Config>::DataBitBlock>> for IndexCursor<Conf>
impl<Conf: Config> From<&DataBlock<<Conf as Config>::DataBitBlock>> for IndexCursor<Conf>
Source§fn from(block: &DataBlock<Conf::DataBitBlock>) -> Self
fn from(block: &DataBlock<Conf::DataBitBlock>) -> Self
Build cursor that points to the block start index.
impl<Conf: Config> Copy for IndexCursor<Conf>
Auto Trait Implementations§
impl<Conf> Freeze for IndexCursor<Conf>
impl<Conf> RefUnwindSafe for IndexCursor<Conf>where
Conf: RefUnwindSafe,
impl<Conf> Send for IndexCursor<Conf>where
Conf: Send,
impl<Conf> Sync for IndexCursor<Conf>where
Conf: Sync,
impl<Conf> Unpin for IndexCursor<Conf>where
Conf: Unpin,
impl<Conf> UnsafeUnpin for IndexCursor<Conf>
impl<Conf> UnwindSafe for IndexCursor<Conf>where
Conf: UnwindSafe,
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