[][src]Struct brotli::enc::find_stride::EntropyPyramid

pub struct EntropyPyramid<AllocU32: Allocator<u32>> { /* fields omitted */ }

Methods

impl<AllocU32: Allocator<u32>> EntropyPyramid<AllocU32>[src]

pub fn last_level_range(&self) -> Range<usize>[src]

pub fn byte_index_to_pyramid_index(
    &self,
    byte_index: usize,
    metablock_size: usize
) -> usize
[src]

pub fn reset_scratch_to_deepest_level(
    &self,
    output: &mut EntropyTally<AllocU32>
)
[src]

pub fn stride_last_level_range(&self) -> [u8; 8][src]

pub fn free(&mut self, m32: &mut AllocU32)[src]

pub fn disabled_placeholder(_m32: &mut AllocU32) -> Self[src]

pub fn new(m32: &mut AllocU32) -> Self[src]

pub fn bit_cost_of_literals(
    &mut self,
    data0: &[u8],
    start_index: u32,
    metablock_len: usize,
    stride: u8,
    previous_bytes: [u8; 8],
    scratch: &mut EntropyTally<AllocU32>
) -> floatY
[src]

pub fn populate_stride1(&mut self, input0: &[u8], input1: &[u8])[src]

pub fn populate(
    &mut self,
    input0: &[u8],
    input1: &[u8],
    scratch: &mut EntropyTally<AllocU32>
)
[src]

Auto Trait Implementations

impl<AllocU32> RefUnwindSafe for EntropyPyramid<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: RefUnwindSafe

impl<AllocU32> Send for EntropyPyramid<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Send

impl<AllocU32> Sync for EntropyPyramid<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Sync

impl<AllocU32> Unpin for EntropyPyramid<AllocU32> where
    <AllocU32 as Allocator<u32>>::AllocatedMemory: Unpin

impl<AllocU32> UnwindSafe for EntropyPyramid<AllocU32> where
    <AllocU32 as Allocator<u32>>::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.