Struct zstd_sys::ZSTD_frameParameters
source · #[repr(C)]pub struct ZSTD_frameParameters {
pub contentSizeFlag: c_int,
pub checksumFlag: c_int,
pub noDictIDFlag: c_int,
}
Fields§
§contentSizeFlag: c_int
< 1: content size will be in frame header (when known)
checksumFlag: c_int
< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, for error detection
noDictIDFlag: c_int
< 1: no dictID will be saved into frame header (dictID is only useful for dictionary compression)
Trait Implementations§
source§impl Clone for ZSTD_frameParameters
impl Clone for ZSTD_frameParameters
source§fn clone(&self) -> ZSTD_frameParameters
fn clone(&self) -> ZSTD_frameParameters
Returns a copy 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 ZSTD_frameParameters
impl Debug for ZSTD_frameParameters
impl Copy for ZSTD_frameParameters
Auto Trait Implementations§
impl Freeze for ZSTD_frameParameters
impl RefUnwindSafe for ZSTD_frameParameters
impl Send for ZSTD_frameParameters
impl Sync for ZSTD_frameParameters
impl Unpin for ZSTD_frameParameters
impl UnwindSafe for ZSTD_frameParameters
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
)