Struct brotli::enc::reader::CompressorReaderCustomIo
[−]
[src]
pub struct CompressorReaderCustomIo<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, 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<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> CompressorReaderCustomIo<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
[src]
pub fn new(
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u16: AllocU16,
alloc_i32: AllocI32,
alloc_u32: AllocU32,
alloc_u64: AllocU64,
alloc_c: AllocCommand,
alloc_f64: AllocF64,
alloc_fv: AllocFV,
alloc_hl: AllocHL,
alloc_hc: AllocHC,
alloc_hd: AllocHD,
alloc_hp: AllocHP,
alloc_ct: AllocCT,
alloc_ht: AllocHT,
alloc_zn: AllocZN,
invalid_data_error_type: ErrType,
q: u32,
lgwin: u32
) -> Self
[src]
r: R,
buffer: BufferType,
alloc_u8: AllocU8,
alloc_u16: AllocU16,
alloc_i32: AllocI32,
alloc_u32: AllocU32,
alloc_u64: AllocU64,
alloc_c: AllocCommand,
alloc_f64: AllocF64,
alloc_fv: AllocFV,
alloc_hl: AllocHL,
alloc_hc: AllocHC,
alloc_hd: AllocHD,
alloc_hp: AllocHP,
alloc_ct: AllocCT,
alloc_ht: AllocHT,
alloc_zn: AllocZN,
invalid_data_error_type: ErrType,
q: u32,
lgwin: u32
) -> Self
pub fn copy_to_front(&mut self)
[src]
ⓘImportant traits for &'a mut Ipub fn get_ref(&self) -> &R
[src]
ⓘImportant traits for &'a mut I
Trait Implementations
impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> Drop for CompressorReaderCustomIo<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
[src]
impl<ErrType, R: CustomRead<ErrType>, BufferType: SliceWrapperMut<u8>, AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocF64: Allocator<floatX>, AllocFV: Allocator<Mem256f>, AllocHL: Allocator<HistogramLiteral>, AllocHC: Allocator<HistogramCommand>, AllocHD: Allocator<HistogramDistance>, AllocHP: Allocator<HistogramPair>, AllocCT: Allocator<ContextType>, AllocHT: Allocator<HuffmanTree>, AllocZN: Allocator<ZopfliNode>> CustomRead<ErrType> for CompressorReaderCustomIo<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN>
[src]
Auto Trait Implementations
impl<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Send for CompressorReaderCustomIo<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCT: Send,
AllocCommand: Send,
AllocF64: Send,
AllocFV: Send,
AllocHC: Send,
AllocHD: Send,
AllocHL: Send,
AllocHP: Send,
AllocHT: Send,
AllocI32: Send,
AllocU16: Send,
AllocU32: Send,
AllocU64: Send,
AllocU8: Send,
AllocZN: Send,
BufferType: Send,
ErrType: Send,
R: 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,
AllocCT: Send,
AllocCommand: Send,
AllocF64: Send,
AllocFV: Send,
AllocHC: Send,
AllocHD: Send,
AllocHL: Send,
AllocHP: Send,
AllocHT: Send,
AllocI32: Send,
AllocU16: Send,
AllocU32: Send,
AllocU64: Send,
AllocU8: Send,
AllocZN: Send,
BufferType: Send,
ErrType: Send,
R: 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<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> Sync for CompressorReaderCustomIo<ErrType, R, BufferType, AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocF64, AllocFV, AllocHL, AllocHC, AllocHD, AllocHP, AllocCT, AllocHT, AllocZN> where
AllocCT: Sync,
AllocCommand: Sync,
AllocF64: Sync,
AllocFV: Sync,
AllocHC: Sync,
AllocHD: Sync,
AllocHL: Sync,
AllocHP: Sync,
AllocHT: Sync,
AllocI32: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU64: Sync,
AllocU8: Sync,
AllocZN: Sync,
BufferType: Sync,
ErrType: Sync,
R: 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,
AllocCT: Sync,
AllocCommand: Sync,
AllocF64: Sync,
AllocFV: Sync,
AllocHC: Sync,
AllocHD: Sync,
AllocHL: Sync,
AllocHP: Sync,
AllocHT: Sync,
AllocI32: Sync,
AllocU16: Sync,
AllocU32: Sync,
AllocU64: Sync,
AllocU8: Sync,
AllocZN: Sync,
BufferType: Sync,
ErrType: Sync,
R: 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,