[−][src]Struct brotli_decompressor::HuffmanTreeGroup
Fields
htrees: Alloc32::AllocatedMemory
codes: AllocHC::AllocatedMemory
alphabet_size: u16
max_symbol: u16
num_htrees: u16
Methods
impl<AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> HuffmanTreeGroup<AllocU32, AllocHC>
[src]
impl<AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> HuffmanTreeGroup<AllocU32, AllocHC>
pub fn init( | [src] |
pub fn get_tree_mut(&mut self, index: u32) -> &mut [HuffmanCode] | [src] |
pub fn get_tree(&self, index: u32) -> &[HuffmanCode] | [src] |
pub fn reset(&mut self, alloc_u32: &mut AllocU32, alloc_hc: &mut AllocHC) | [src] |
pub fn build_hgroup_cache(&self) -> [&[HuffmanCode]; 256] | [src] |
Trait Implementations
impl<AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> Default for HuffmanTreeGroup<AllocU32, AllocHC>
[src]
impl<AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>> Default for HuffmanTreeGroup<AllocU32, AllocHC>
Auto Trait Implementations
impl<Alloc32, AllocHC> Send for HuffmanTreeGroup<Alloc32, AllocHC> where
<Alloc32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
impl<Alloc32, AllocHC> Send for HuffmanTreeGroup<Alloc32, AllocHC> where
<Alloc32 as Allocator<u32>>::AllocatedMemory: Send,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Send,
impl<Alloc32, AllocHC> Sync for HuffmanTreeGroup<Alloc32, AllocHC> where
<Alloc32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
impl<Alloc32, AllocHC> Sync for HuffmanTreeGroup<Alloc32, AllocHC> where
<Alloc32 as Allocator<u32>>::AllocatedMemory: Sync,
<AllocHC as Allocator<HuffmanCode>>::AllocatedMemory: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |