Struct brotli::enc::brotli_bit_stream::MetaBlockSplit
source · pub struct MetaBlockSplit<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> {Show 13 fields
pub literal_split: BlockSplit<Alloc>,
pub command_split: BlockSplit<Alloc>,
pub distance_split: BlockSplit<Alloc>,
pub literal_context_map: <Alloc as Allocator<u32>>::AllocatedMemory,
pub literal_context_map_size: usize,
pub distance_context_map: <Alloc as Allocator<u32>>::AllocatedMemory,
pub distance_context_map_size: usize,
pub literal_histograms: <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory,
pub literal_histograms_size: usize,
pub command_histograms: <Alloc as Allocator<HistogramCommand>>::AllocatedMemory,
pub command_histograms_size: usize,
pub distance_histograms: <Alloc as Allocator<HistogramDistance>>::AllocatedMemory,
pub distance_histograms_size: usize,
}
Fields§
§literal_split: BlockSplit<Alloc>
§command_split: BlockSplit<Alloc>
§distance_split: BlockSplit<Alloc>
§literal_context_map: <Alloc as Allocator<u32>>::AllocatedMemory
§literal_context_map_size: usize
§distance_context_map: <Alloc as Allocator<u32>>::AllocatedMemory
§distance_context_map_size: usize
§literal_histograms: <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory
§literal_histograms_size: usize
§command_histograms: <Alloc as Allocator<HistogramCommand>>::AllocatedMemory
§command_histograms_size: usize
§distance_histograms: <Alloc as Allocator<HistogramDistance>>::AllocatedMemory
§distance_histograms_size: usize
Implementations§
source§impl<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> MetaBlockSplit<Alloc>
impl<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> MetaBlockSplit<Alloc>
pub fn new() -> Self
pub fn destroy(&mut self, alloc: &mut Alloc)
Trait Implementations§
source§impl<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> Default for MetaBlockSplit<Alloc>
impl<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> Default for MetaBlockSplit<Alloc>
Auto Trait Implementations§
impl<Alloc> Freeze for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: Freeze,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Freeze,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Freeze,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Freeze,
<Alloc as Allocator<u8>>::AllocatedMemory: Freeze,
impl<Alloc> RefUnwindSafe for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
impl<Alloc> Send for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Send,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Send,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Send,
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
impl<Alloc> Sync for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Sync,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Sync,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Sync,
<Alloc as Allocator<u8>>::AllocatedMemory: Sync,
impl<Alloc> Unpin for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Unpin,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Unpin,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
impl<Alloc> UnwindSafe for MetaBlockSplit<Alloc>where
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<HistogramCommand>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<HistogramDistance>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more