pub struct BlockEncoder<'a, Alloc>where
    Alloc: Allocator<u8> + Allocator<u16>,
{ pub histogram_length_: usize, pub num_block_types_: usize, pub block_types_: &'a [u8], pub block_lengths_: &'a [u32], pub num_blocks_: usize, pub block_split_code_: BlockSplitCode, pub block_ix_: usize, pub block_len_: usize, pub entropy_ix_: usize, pub depths_: <Alloc as Allocator<u8>>::AllocatedMemory, pub bits_: <Alloc as Allocator<u16>>::AllocatedMemory, }

Fields

histogram_length_: usizenum_block_types_: usizeblock_types_: &'a [u8]block_lengths_: &'a [u32]num_blocks_: usizeblock_split_code_: BlockSplitCodeblock_ix_: usizeblock_len_: usizeentropy_ix_: usizedepths_: <Alloc as Allocator<u8>>::AllocatedMemorybits_: <Alloc as Allocator<u16>>::AllocatedMemory

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.