pub struct PayloadBlock {
pub position: u64,
pub block: Block,
pub len: usize,
}Expand description
One meaningful payload block belonging to an ordinary archive member.
Fields§
§position: u64The absolute byte position of this payload block.
block: BlockThe lossless payload block bytes, including any final padding.
len: usizeThe number of meaningful bytes in this block.
Trait Implementations§
Source§impl Clone for PayloadBlock
impl Clone for PayloadBlock
Source§fn clone(&self) -> PayloadBlock
fn clone(&self) -> PayloadBlock
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 PayloadBlock
impl Debug for PayloadBlock
impl Eq for PayloadBlock
Source§impl PartialEq for PayloadBlock
impl PartialEq for PayloadBlock
Source§fn eq(&self, other: &PayloadBlock) -> bool
fn eq(&self, other: &PayloadBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PayloadBlock
Auto Trait Implementations§
impl Freeze for PayloadBlock
impl RefUnwindSafe for PayloadBlock
impl Send for PayloadBlock
impl Sync for PayloadBlock
impl Unpin for PayloadBlock
impl UnsafeUnpin for PayloadBlock
impl UnwindSafe for PayloadBlock
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