#[repr(C)]pub struct optState_t {Show 17 fields
pub litFreq: *mut c_uint,
pub litLengthFreq: *mut c_uint,
pub matchLengthFreq: *mut c_uint,
pub offCodeFreq: *mut c_uint,
pub matchTable: *mut ZSTD_match_t,
pub priceTable: *mut ZSTD_optimal_t,
pub litSum: u32,
pub litLengthSum: u32,
pub matchLengthSum: u32,
pub offCodeSum: u32,
pub litSumBasePrice: u32,
pub litLengthSumBasePrice: u32,
pub matchLengthSumBasePrice: u32,
pub offCodeSumBasePrice: u32,
pub priceType: ZSTD_OptPrice_e,
pub symbolCosts: *const ZSTD_entropyCTables_t,
pub literalCompressionMode: ZSTD_ParamSwitch_e,
}Fields§
§litFreq: *mut c_uint§litLengthFreq: *mut c_uint§matchLengthFreq: *mut c_uint§offCodeFreq: *mut c_uint§matchTable: *mut ZSTD_match_t§priceTable: *mut ZSTD_optimal_t§litSum: u32§litLengthSum: u32§matchLengthSum: u32§offCodeSum: u32§litSumBasePrice: u32§litLengthSumBasePrice: u32§matchLengthSumBasePrice: u32§offCodeSumBasePrice: u32§priceType: ZSTD_OptPrice_e§symbolCosts: *const ZSTD_entropyCTables_t§literalCompressionMode: ZSTD_ParamSwitch_eAuto Trait Implementations§
impl !Send for optState_t
impl !Sync for optState_t
impl Freeze for optState_t
impl RefUnwindSafe for optState_t
impl Unpin for optState_t
impl UnsafeUnpin for optState_t
impl UnwindSafe for optState_t
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