Trait brotli::enc::interface::CommandProcessor

source ·
pub trait CommandProcessor<'a> {
    // Required method
    fn push(&mut self, val: Command<InputReference<'a>>);

    // Provided methods
    fn push_literals(&mut self, data: &InputPair<'a>) { ... }
    fn push_rand_literals(&mut self, data: &InputPair<'a>) { ... }
    fn push_block_switch_literal(&mut self, block_type: u8) { ... }
}

Required Methods§

source

fn push(&mut self, val: Command<InputReference<'a>>)

Provided Methods§

source

fn push_literals(&mut self, data: &InputPair<'a>)

source

fn push_rand_literals(&mut self, data: &InputPair<'a>)

source

fn push_block_switch_literal(&mut self, block_type: u8)

Implementors§

source§

impl<'a, 'b, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> CommandProcessor<'b> for ContextMapEntropy<'a, Alloc>

source§

impl<'a, 'b, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> CommandProcessor<'b> for StrideEval<'a, Alloc>

source§

impl<'a, 'b, Alloc: Allocator<s16> + Allocator<u32> + Allocator<v8>> CommandProcessor<'b> for PriorEval<'a, Alloc>