pub struct IndexRange {
pub offset: u64,
pub length: usize,
}Expand description
An exact range to read from the same immutable index used for the header. No read exceeds 32 bytes; hosts may cache/coalesce larger storage pages.
Fields§
§offset: u64§length: usizeTrait Implementations§
Source§impl Clone for IndexRange
impl Clone for IndexRange
Source§fn clone(&self) -> IndexRange
fn clone(&self) -> IndexRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IndexRange
Source§impl Debug for IndexRange
impl Debug for IndexRange
impl Eq for IndexRange
Source§impl PartialEq for IndexRange
impl PartialEq for IndexRange
impl StructuralPartialEq for IndexRange
Auto Trait Implementations§
impl Freeze for IndexRange
impl RefUnwindSafe for IndexRange
impl Send for IndexRange
impl Sync for IndexRange
impl Unpin for IndexRange
impl UnsafeUnpin for IndexRange
impl UnwindSafe for IndexRange
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