brotli::enc::histogram

Trait CostAccessors

source
pub trait CostAccessors {
    type i32vec: Sized + SliceWrapper<Mem256i> + SliceWrapperMut<Mem256i>;

    // Required methods
    fn make_nnz_storage() -> Self::i32vec;
    fn total_count(&self) -> usize;
    fn bit_cost(&self) -> floatX;
    fn set_bit_cost(&mut self, cost: floatX);
    fn set_total_count(&mut self, count: usize);
}

Required Associated Types§

Required Methods§

source

fn make_nnz_storage() -> Self::i32vec

source

fn total_count(&self) -> usize

source

fn bit_cost(&self) -> floatX

source

fn set_bit_cost(&mut self, cost: floatX)

source

fn set_total_count(&mut self, count: usize)

Object Safety§

This trait is not object safe.

Implementors§