Struct brotli::enc::encode::BrotliEncoderStateStruct
[−]
[src]
pub struct BrotliEncoderStateStruct<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocCommand: Allocator<Command>> { pub params: BrotliEncoderParams, pub m8: AllocU8, pub m16: AllocU16, pub mi32: AllocI32, pub m32: AllocU32, pub mc: AllocCommand, pub hasher_: UnionHasher<AllocU16, AllocU32>, pub input_pos_: u64, pub ringbuffer_: RingBuffer<AllocU8>, pub cmd_alloc_size_: usize, pub commands_: AllocCommand::AllocatedMemory, pub num_commands_: usize, pub num_literals_: usize, pub last_insert_len_: usize, pub last_flush_pos_: u64, pub last_processed_pos_: u64, pub dist_cache_: [i32; 16], pub saved_dist_cache_: [i32; 4], pub last_bytes_: u16, pub last_bytes_bits_: u8, pub prev_byte_: u8, pub prev_byte2_: u8, pub storage_size_: usize, pub storage_: AllocU8::AllocatedMemory, pub small_table_: [i32; 1024], pub large_table_: AllocI32::AllocatedMemory, pub cmd_depths_: [u8; 128], pub cmd_bits_: [u16; 128], pub cmd_code_: [u8; 512], pub cmd_code_numbits_: usize, pub command_buf_: AllocU32::AllocatedMemory, pub literal_buf_: AllocU8::AllocatedMemory, pub available_out_: usize, pub total_out_: usize, pub tiny_buf_: [u8; 16], pub remaining_metadata_bytes_: u32, pub stream_state_: BrotliEncoderStreamState, pub is_last_block_emitted_: i32, pub is_initialized_: i32, pub literal_scratch_space: <HistogramLiteral as CostAccessors>::i32vec, pub command_scratch_space: <HistogramCommand as CostAccessors>::i32vec, pub distance_scratch_space: <HistogramDistance as CostAccessors>::i32vec, pub recoder_state: RecoderState, // some fields omitted }
Fields
params: BrotliEncoderParams
m8: AllocU8
m16: AllocU16
mi32: AllocI32
m32: AllocU32
mc: AllocCommand
hasher_: UnionHasher<AllocU16, AllocU32>
input_pos_: u64
ringbuffer_: RingBuffer<AllocU8>
cmd_alloc_size_: usize
commands_: AllocCommand::AllocatedMemory
num_commands_: usize
num_literals_: usize
last_insert_len_: usize
last_flush_pos_: u64
last_processed_pos_: u64
dist_cache_: [i32; 16]
saved_dist_cache_: [i32; 4]
last_bytes_: u16
last_bytes_bits_: u8
prev_byte_: u8
prev_byte2_: u8
storage_size_: usize
storage_: AllocU8::AllocatedMemory
small_table_: [i32; 1024]
large_table_: AllocI32::AllocatedMemory
cmd_depths_: [u8; 128]
cmd_bits_: [u16; 128]
cmd_code_: [u8; 512]
cmd_code_numbits_: usize
command_buf_: AllocU32::AllocatedMemory
literal_buf_: AllocU8::AllocatedMemory
available_out_: usize
total_out_: usize
tiny_buf_: [u8; 16]
remaining_metadata_bytes_: u32
stream_state_: BrotliEncoderStreamState
is_last_block_emitted_: i32
is_initialized_: i32
literal_scratch_space: <HistogramLiteral as CostAccessors>::i32vec
command_scratch_space: <HistogramCommand as CostAccessors>::i32vec
distance_scratch_space: <HistogramDistance as CostAccessors>::i32vec
recoder_state: RecoderState
Trait Implementations
Auto Trait Implementations
impl<AllocU8, AllocU16, AllocU32, AllocI32, AllocCommand> Send for BrotliEncoderStateStruct<AllocU8, AllocU16, AllocU32, AllocI32, AllocCommand> where
AllocCommand: Send,
AllocI32: Send,
AllocU16: Send,
AllocU32: Send,
AllocU8: Send,
<AllocCommand as Allocator<Command>>::AllocatedMemory: Send,
<AllocI32 as Allocator<i32>>::AllocatedMemory: Send,
<AllocU16 as Allocator<u16>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
AllocCommand: Send,
AllocI32: Send,
AllocU16: Send,
AllocU32: Send,
AllocU8: Send,
<AllocCommand as Allocator<Command>>::AllocatedMemory: Send,
<AllocI32 as Allocator<i32>>::AllocatedMemory: Send,
<AllocU16 as Allocator<u16>>::AllocatedMemory: Send,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Send,
impl<AllocU8, AllocU16, AllocU32, AllocI32, AllocCommand> Sync for BrotliEncoderStateStruct<AllocU8, AllocU16, AllocU32, AllocI32, AllocCommand> where
AllocCommand: Sync,
AllocI32: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU8: Sync,
<AllocCommand as Allocator<Command>>::AllocatedMemory: Sync,
<AllocI32 as Allocator<i32>>::AllocatedMemory: Sync,
<AllocU16 as Allocator<u16>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,
AllocCommand: Sync,
AllocI32: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU8: Sync,
<AllocCommand as Allocator<Command>>::AllocatedMemory: Sync,
<AllocI32 as Allocator<i32>>::AllocatedMemory: Sync,
<AllocU16 as Allocator<u16>>::AllocatedMemory: Sync,
<AllocU32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocU8 as Allocator<u8>>::AllocatedMemory: Sync,