Skip to main content

optState_t

Struct optState_t 

Source
#[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_e

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.