Struct divans::BrotliDivansHybridCompressor [−][src]
pub struct BrotliDivansHybridCompressor<SelectedCDF: CDF16, ChosenEncoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocCDF16: Allocator<SelectedCDF>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> { /* fields omitted */ }
Methods
impl<SelectedCDF: CDF16, ChosenEncoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocCDF16: Allocator<SelectedCDF>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
[src]
impl<SelectedCDF: CDF16, ChosenEncoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocCDF16: Allocator<SelectedCDF>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
ⓘImportant traits for &'a mut Ipub fn get_m8(&mut self) -> &mut AllocU8
[src]
ⓘImportant traits for &'a mut I
pub fn get_m8(&mut self) -> &mut AllocU8
pub fn free_ref(&mut self)
[src]
pub fn free_ref(&mut self)
pub fn free(
self
) -> (AllocU8, AllocU32, AllocCDF16, AllocU8, AllocU16, AllocI32, AllocCommand, AllocU64, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN, AllocPDF)
[src]
pub fn free(
self
) -> (AllocU8, AllocU32, AllocCDF16, AllocU8, AllocU16, AllocI32, AllocCommand, AllocU64, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN, AllocPDF)
Trait Implementations
impl<SelectedCDF: CDF16, ChosenEncoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocCDF16: Allocator<SelectedCDF>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> Compressor for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
[src]
impl<SelectedCDF: CDF16, ChosenEncoder: ArithmeticEncoderOrDecoder + NewWithAllocator<AllocU8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocU32: Allocator<u32>, AllocI32: Allocator<i32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocCDF16: Allocator<SelectedCDF>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> Compressor for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
fn encode(
&mut self,
input: &[u8],
input_offset: &mut usize,
_output: &mut [u8],
_output_offset: &mut usize
) -> DivansResult
[src]
fn encode(
&mut self,
input: &[u8],
input_offset: &mut usize,
_output: &mut [u8],
_output_offset: &mut usize
) -> DivansResult
fn flush(
&mut self,
output: &mut [u8],
output_offset: &mut usize
) -> DivansOutputResult
[src]
fn flush(
&mut self,
output: &mut [u8],
output_offset: &mut usize
) -> DivansOutputResult
fn encode_commands<SliceType: SliceWrapper<u8> + Default>(
&mut self,
input: &[Command<SliceType>],
input_offset: &mut usize,
output: &mut [u8],
output_offset: &mut usize
) -> DivansOutputResult
[src]
fn encode_commands<SliceType: SliceWrapper<u8> + Default>(
&mut self,
input: &[Command<SliceType>],
input_offset: &mut usize,
output: &mut [u8],
output_offset: &mut usize
) -> DivansOutputResult
Auto Trait Implementations
impl<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Send for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCDF16: Send,
AllocCT: Send,
AllocCommand: Send,
AllocF64: Send,
AllocFV: Send,
AllocHC: Send,
AllocHD: Send,
AllocHL: Send,
AllocHP: Send,
AllocHT: Send,
AllocI32: Send,
AllocPDF: Send,
AllocStaticCommand: Send,
AllocU16: Send,
AllocU32: Send,
AllocU64: Send,
AllocU8: Send,
AllocZN: Send,
ChosenEncoder: Send,
<AllocCDF16 as Allocator<SelectedCDF>>::AllocatedMemory: 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<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Send for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCDF16: Send,
AllocCT: Send,
AllocCommand: Send,
AllocF64: Send,
AllocFV: Send,
AllocHC: Send,
AllocHD: Send,
AllocHL: Send,
AllocHP: Send,
AllocHT: Send,
AllocI32: Send,
AllocPDF: Send,
AllocStaticCommand: Send,
AllocU16: Send,
AllocU32: Send,
AllocU64: Send,
AllocU8: Send,
AllocZN: Send,
ChosenEncoder: Send,
<AllocCDF16 as Allocator<SelectedCDF>>::AllocatedMemory: 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<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Sync for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCDF16: Sync,
AllocCT: Sync,
AllocCommand: Sync,
AllocF64: Sync,
AllocFV: Sync,
AllocHC: Sync,
AllocHD: Sync,
AllocHL: Sync,
AllocHP: Sync,
AllocHT: Sync,
AllocI32: Sync,
AllocPDF: Sync,
AllocStaticCommand: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU64: Sync,
AllocU8: Sync,
AllocZN: Sync,
ChosenEncoder: Sync,
<AllocCDF16 as Allocator<SelectedCDF>>::AllocatedMemory: 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,
impl<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Sync for BrotliDivansHybridCompressor<SelectedCDF, ChosenEncoder, AllocU8, AllocU16, AllocU32, AllocI32, AllocU64, AllocCommand, AllocCDF16, AllocF64, AllocFV, AllocPDF, AllocStaticCommand, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCDF16: Sync,
AllocCT: Sync,
AllocCommand: Sync,
AllocF64: Sync,
AllocFV: Sync,
AllocHC: Sync,
AllocHD: Sync,
AllocHL: Sync,
AllocHP: Sync,
AllocHT: Sync,
AllocI32: Sync,
AllocPDF: Sync,
AllocStaticCommand: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU64: Sync,
AllocU8: Sync,
AllocZN: Sync,
ChosenEncoder: Sync,
<AllocCDF16 as Allocator<SelectedCDF>>::AllocatedMemory: 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,