Struct brotli::enc::histogram::HistogramLiteral [−][src]
pub struct HistogramLiteral { pub data_: [u32; 256], pub total_count_: usize, pub bit_cost_: floatX, }
Fields
data_: [u32; 256]
total_count_: usize
bit_cost_: floatX
Trait Implementations
impl Clone for HistogramLiteral
[src]
impl Clone for HistogramLiteral
fn clone(&self) -> HistogramLiteral
[src]
fn clone(&self) -> HistogramLiteral
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for HistogramLiteral
[src]
impl Default for HistogramLiteral
fn default() -> HistogramLiteral
[src]
fn default() -> HistogramLiteral
Returns the "default value" for a type. Read more
impl SliceWrapper<u32> for HistogramLiteral
[src]
impl SliceWrapper<u32> for HistogramLiteral
impl SliceWrapperMut<u32> for HistogramLiteral
[src]
impl SliceWrapperMut<u32> for HistogramLiteral
impl CostAccessors for HistogramLiteral
[src]
impl CostAccessors for HistogramLiteral
type i32vec = HistogramLiteralScratch
fn make_nnz_storage() -> Self::i32vec
[src]
fn make_nnz_storage() -> Self::i32vec
fn total_count(&self) -> usize
[src]
fn total_count(&self) -> usize
fn bit_cost(&self) -> floatX
[src]
fn bit_cost(&self) -> floatX
fn set_bit_cost(&mut self, data: floatX)
[src]
fn set_bit_cost(&mut self, data: floatX)
fn set_total_count(&mut self, data: usize)
[src]
fn set_total_count(&mut self, data: usize)
Auto Trait Implementations
impl Send for HistogramLiteral
impl Send for HistogramLiteral
impl Sync for HistogramLiteral
impl Sync for HistogramLiteral