pub struct LazyVector {
pub length: usize,
pub offset: u64,
pub byte_len: u64,
}Expand description
Lazy vector metadata for deferred loading.
Stores the position and size information needed to materialize a vector’s data from the source without loading it during parsing.
Fields§
§length: usizeNumber of elements in the vector
offset: u64Offset in the DECOMPRESSED stream (not the compressed file). Using u64 to support files >4GB.
byte_len: u64Number of bytes to read for materialization. Enables validation against truncation.
Trait Implementations§
Source§impl Clone for LazyVector
impl Clone for LazyVector
Source§fn clone(&self) -> LazyVector
fn clone(&self) -> LazyVector
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LazyVector
impl Debug for LazyVector
Source§impl PartialEq for LazyVector
impl PartialEq for LazyVector
impl Copy for LazyVector
impl Eq for LazyVector
impl StructuralPartialEq for LazyVector
Auto Trait Implementations§
impl Freeze for LazyVector
impl RefUnwindSafe for LazyVector
impl Send for LazyVector
impl Sync for LazyVector
impl Unpin for LazyVector
impl UnwindSafe for LazyVector
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.