pub struct LevelIndex {
pub byte_offset: u64,
pub byte_length: u64,
pub uncompressed_byte_length: u64,
}Expand description
Offsets dictating the location of a Level within a file.
This is mainly useful for writing or low-level manipulation. Prefer Reader::levels for data access.
Fields§
§byte_offset: u64Byte offset from the start of the file to this level’s data.
byte_length: u64Byte length of the (possibly supercompressed) level data.
uncompressed_byte_length: u64Byte length after decompression. 0 for BasisLZ.
Implementations§
Trait Implementations§
Source§impl Clone for LevelIndex
impl Clone for LevelIndex
Source§fn clone(&self) -> LevelIndex
fn clone(&self) -> LevelIndex
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 LevelIndex
Source§impl Debug for LevelIndex
impl Debug for LevelIndex
impl Eq for LevelIndex
Source§impl PartialEq for LevelIndex
impl PartialEq for LevelIndex
Source§fn eq(&self, other: &LevelIndex) -> bool
fn eq(&self, other: &LevelIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LevelIndex
Auto Trait Implementations§
impl Freeze for LevelIndex
impl RefUnwindSafe for LevelIndex
impl Send for LevelIndex
impl Sync for LevelIndex
impl Unpin for LevelIndex
impl UnsafeUnpin for LevelIndex
impl UnwindSafe for LevelIndex
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