[][src]Struct brotli::enc::brotli_bit_stream::MetaBlockSplit

pub struct MetaBlockSplit<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> {
    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>>::AllocatedMemoryliteral_context_map_size: usizedistance_context_map: <Alloc as Allocator<u32>>::AllocatedMemorydistance_context_map_size: usizeliteral_histograms: <Alloc as Allocator<HistogramLiteral>>::AllocatedMemoryliteral_histograms_size: usizecommand_histograms: <Alloc as Allocator<HistogramCommand>>::AllocatedMemorycommand_histograms_size: usizedistance_histograms: <Alloc as Allocator<HistogramDistance>>::AllocatedMemorydistance_histograms_size: usize

Methods

impl<Alloc: Allocator<u8> + Allocator<u32> + Allocator<HistogramLiteral> + Allocator<HistogramCommand> + Allocator<HistogramDistance>> MetaBlockSplit<Alloc>[src]

pub fn new() -> Self[src]

pub fn destroy(&mut self, alloc: &mut Alloc)[src]

Auto Trait Implementations

impl<Alloc> RefUnwindSafe for MetaBlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<HistogramCommand>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<HistogramDistance>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: RefUnwindSafe

impl<Alloc> Send for MetaBlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Send,
    <Alloc as Allocator<u8>>::AllocatedMemory: Send,
    <Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Send,
    <Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Send,
    <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Send

impl<Alloc> Sync for MetaBlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u8>>::AllocatedMemory: Sync,
    <Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Sync,
    <Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Sync,
    <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Sync

impl<Alloc> Unpin for MetaBlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<HistogramCommand>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<HistogramDistance>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: Unpin

impl<Alloc> UnwindSafe for MetaBlockSplit<Alloc> where
    <Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<HistogramCommand>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<HistogramDistance>>::AllocatedMemory: UnwindSafe,
    <Alloc as Allocator<HistogramLiteral>>::AllocatedMemory: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.