pub struct FrameIndexEntry {
pub original_offset: u64,
pub original_size: u64,
pub compressed_offset: u64,
pub compressed_size: u64,
}Fields§
§original_offset: u64この frame が担当する decompressed byte 範囲の開始 (累計、0-based)
original_size: u64解凍後 byte 数 (frame header の original_size と同じ)
compressed_offset: u64S3 object body 内での frame 開始位置 (S4F2 magic の先頭 byte)
compressed_size: u64frame 全体のバイト数 (28 byte header + payload)
Implementations§
Source§impl FrameIndexEntry
impl FrameIndexEntry
pub fn original_end(&self) -> u64
pub fn compressed_end(&self) -> u64
Trait Implementations§
Source§impl Clone for FrameIndexEntry
impl Clone for FrameIndexEntry
Source§fn clone(&self) -> FrameIndexEntry
fn clone(&self) -> FrameIndexEntry
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 moreSource§impl Debug for FrameIndexEntry
impl Debug for FrameIndexEntry
Source§impl PartialEq for FrameIndexEntry
impl PartialEq for FrameIndexEntry
Source§fn eq(&self, other: &FrameIndexEntry) -> bool
fn eq(&self, other: &FrameIndexEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FrameIndexEntry
impl StructuralPartialEq for FrameIndexEntry
Auto Trait Implementations§
impl Freeze for FrameIndexEntry
impl RefUnwindSafe for FrameIndexEntry
impl Send for FrameIndexEntry
impl Sync for FrameIndexEntry
impl Unpin for FrameIndexEntry
impl UnsafeUnpin for FrameIndexEntry
impl UnwindSafe for FrameIndexEntry
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