pub struct CdxBlockEntry {
pub first_key: u32,
pub block_offset: u64,
}Expand description
One entry in the CDX block index: first trigram key + absolute block offset.
Fields§
§first_key: u32First trigram key in this block.
block_offset: u64Absolute byte offset of the compressed block.
Trait Implementations§
Source§impl Clone for CdxBlockEntry
impl Clone for CdxBlockEntry
Source§fn clone(&self) -> CdxBlockEntry
fn clone(&self) -> CdxBlockEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CdxBlockEntry
impl Debug for CdxBlockEntry
impl Copy for CdxBlockEntry
Auto Trait Implementations§
impl Freeze for CdxBlockEntry
impl RefUnwindSafe for CdxBlockEntry
impl Send for CdxBlockEntry
impl Sync for CdxBlockEntry
impl Unpin for CdxBlockEntry
impl UnsafeUnpin for CdxBlockEntry
impl UnwindSafe for CdxBlockEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more