Trait brotli::enc::histogram::CostAccessors [−][src]
pub trait CostAccessors { type i32vec: Sized + SliceWrapper<Mem256i> + SliceWrapperMut<Mem256i>; 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); }
Associated Types
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)
Implementors
impl CostAccessors for HistogramLiteral type i32vec = HistogramLiteralScratch;
impl CostAccessors for HistogramCommand type i32vec = HistogramCommandScratch;
impl CostAccessors for HistogramDistance type i32vec = HistogramDistanceScratch;