pub struct LZ4BlockHeader {
pub data_size: usize,
pub header_size: usize,
pub checksum_size: usize,
pub last_block: bool,
}Expand description
Struct to store LZ4 block header info
Fields§
§data_size: usize§header_size: usize§checksum_size: usize§last_block: boolTrait Implementations§
Source§impl Clone for LZ4BlockHeader
impl Clone for LZ4BlockHeader
Source§fn clone(&self) -> LZ4BlockHeader
fn clone(&self) -> LZ4BlockHeader
Returns a duplicate of the value. Read more
1.0.0 · 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 LZ4BlockHeader
impl Debug for LZ4BlockHeader
Source§impl Default for LZ4BlockHeader
impl Default for LZ4BlockHeader
Source§fn default() -> LZ4BlockHeader
fn default() -> LZ4BlockHeader
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LZ4BlockHeader
impl RefUnwindSafe for LZ4BlockHeader
impl Send for LZ4BlockHeader
impl Sync for LZ4BlockHeader
impl Unpin for LZ4BlockHeader
impl UnwindSafe for LZ4BlockHeader
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