ZSTD_DCtx_s

Struct ZSTD_DCtx_s 

Source
#[repr(C)]
pub struct ZSTD_DCtx_s {
Show 58 fields pub LLTptr: *const ZSTD_seqSymbol, pub MLTptr: *const ZSTD_seqSymbol, pub OFTptr: *const ZSTD_seqSymbol, pub HUFptr: *const HUF_DTable, pub entropy: ZSTD_entropyDTables_t, pub workspace: [U32; 640], pub previousDstEnd: *const c_void, pub prefixStart: *const c_void, pub virtualStart: *const c_void, pub dictEnd: *const c_void, pub expected: usize, pub fParams: ZSTD_frameHeader, pub processedCSize: U64, pub decodedSize: U64, pub bType: blockType_e, pub stage: ZSTD_dStage, pub litEntropy: U32, pub fseEntropy: U32, pub xxhState: XXH_NAMESPACEXXH64_state_t, pub headerSize: usize, pub format: ZSTD_format_e, pub forceIgnoreChecksum: ZSTD_forceIgnoreChecksum_e, pub validateChecksum: U32, pub litPtr: *const BYTE, pub customMem: ZSTD_customMem, pub litSize: usize, pub rleSize: usize, pub staticSize: usize, pub isFrameDecompression: c_int, pub ddictLocal: *mut ZSTD_DDict, pub ddict: *const ZSTD_DDict, pub dictID: U32, pub ddictIsCold: c_int, pub dictUses: ZSTD_dictUses_e, pub ddictSet: *mut ZSTD_DDictHashSet, pub refMultipleDDicts: ZSTD_refMultipleDDicts_e, pub disableHufAsm: c_int, pub maxBlockSizeParam: c_int, pub streamStage: ZSTD_dStreamStage, pub inBuff: *mut c_char, pub inBuffSize: usize, pub inPos: usize, pub maxWindowSize: usize, pub outBuff: *mut c_char, pub outBuffSize: usize, pub outStart: usize, pub outEnd: usize, pub lhSize: usize, pub hostageByte: U32, pub noForwardProgress: c_int, pub outBufferMode: ZSTD_bufferMode_e, pub expectedOutBuffer: ZSTD_outBuffer, pub litBuffer: *mut BYTE, pub litBufferEnd: *const BYTE, pub litBufferLocation: ZSTD_litLocation_e, pub litExtraBuffer: [BYTE; 65568], pub headerBuffer: [BYTE; 18], pub oversizedDuration: usize,
}

Fields§

§LLTptr: *const ZSTD_seqSymbol§MLTptr: *const ZSTD_seqSymbol§OFTptr: *const ZSTD_seqSymbol§HUFptr: *const HUF_DTable§entropy: ZSTD_entropyDTables_t§workspace: [U32; 640]§previousDstEnd: *const c_void§prefixStart: *const c_void§virtualStart: *const c_void§dictEnd: *const c_void§expected: usize§fParams: ZSTD_frameHeader§processedCSize: U64§decodedSize: U64§bType: blockType_e§stage: ZSTD_dStage§litEntropy: U32§fseEntropy: U32§xxhState: XXH_NAMESPACEXXH64_state_t§headerSize: usize§format: ZSTD_format_e§forceIgnoreChecksum: ZSTD_forceIgnoreChecksum_e§validateChecksum: U32§litPtr: *const BYTE§customMem: ZSTD_customMem§litSize: usize§rleSize: usize§staticSize: usize§isFrameDecompression: c_int§ddictLocal: *mut ZSTD_DDict§ddict: *const ZSTD_DDict§dictID: U32§ddictIsCold: c_int§dictUses: ZSTD_dictUses_e§ddictSet: *mut ZSTD_DDictHashSet§refMultipleDDicts: ZSTD_refMultipleDDicts_e§disableHufAsm: c_int§maxBlockSizeParam: c_int§streamStage: ZSTD_dStreamStage§inBuff: *mut c_char§inBuffSize: usize§inPos: usize§maxWindowSize: usize§outBuff: *mut c_char§outBuffSize: usize§outStart: usize§outEnd: usize§lhSize: usize§hostageByte: U32§noForwardProgress: c_int§outBufferMode: ZSTD_bufferMode_e§expectedOutBuffer: ZSTD_outBuffer§litBuffer: *mut BYTE§litBufferEnd: *const BYTE§litBufferLocation: ZSTD_litLocation_e§litExtraBuffer: [BYTE; 65568]§headerBuffer: [BYTE; 18]§oversizedDuration: usize

Trait Implementations§

Source§

impl Clone for ZSTD_DCtx_s

Source§

fn clone(&self) -> ZSTD_DCtx_s

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ZSTD_DCtx_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for ZSTD_DCtx_s

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.