pub struct BlockInfo {
pub uncompressed: u32,
pub compressed: u32,
pub flags: u16,
pub offset: Option<u64>,
}Expand description
One UnityFS block-table row, before it is serialized.
Fields§
§uncompressed: u32Input length of this block.
compressed: u32Stored length of this block.
flags: u16The caller’s flags, with the codec cleared for a stored chunk.
offset: Option<u64>HEAD format 9’s offset in the padded compressed payload.
Trait Implementations§
impl Copy for BlockInfo
impl Eq for BlockInfo
impl StructuralPartialEq for BlockInfo
Auto Trait Implementations§
impl Forget for BlockInfo
impl Freeze for BlockInfo
impl Move for BlockInfo
impl RefUnwindSafe for BlockInfo
impl Send for BlockInfo
impl Sync for BlockInfo
impl Unpin for BlockInfo
impl UnsafeUnpin for BlockInfo
impl UnwindSafe for BlockInfo
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