#[repr(C)]pub struct FrameInfo { /* private fields */ }
Expand description
LZ4 Frame parameters.
Implementations§
source§impl FrameInfo
impl FrameInfo
sourcepub const fn block_size(&self) -> BlockSize
pub const fn block_size(&self) -> BlockSize
Returns the block size.
sourcepub const fn block_mode(&self) -> BlockMode
pub const fn block_mode(&self) -> BlockMode
Returns the block mode.
sourcepub const fn content_checksum(&self) -> ContentChecksum
pub const fn content_checksum(&self) -> ContentChecksum
Returns the content checksum.
sourcepub const fn frame_type(&self) -> FrameType
pub const fn frame_type(&self) -> FrameType
Returns the frame type.
sourcepub const fn content_size(&self) -> usize
pub const fn content_size(&self) -> usize
Returns the content size.
sourcepub const fn block_checksum(&self) -> BlockChecksum
pub const fn block_checksum(&self) -> BlockChecksum
Returns the block checksum.
Trait Implementations§
source§impl PartialEq for FrameInfo
impl PartialEq for FrameInfo
impl Copy for FrameInfo
impl Eq for FrameInfo
impl StructuralPartialEq for FrameInfo
Auto Trait Implementations§
impl Freeze for FrameInfo
impl RefUnwindSafe for FrameInfo
impl Send for FrameInfo
impl Sync for FrameInfo
impl Unpin for FrameInfo
impl UnwindSafe for FrameInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)