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 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