Trait brotli::enc::histogram::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§
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)
Object Safety§
This trait is not object safe.