Struct brotli::enc::histogram::HistogramCommand
source · pub struct HistogramCommand {
pub data_: [u32; 704],
pub total_count_: usize,
pub bit_cost_: floatX,
}
Fields§
§data_: [u32; 704]
§total_count_: usize
§bit_cost_: floatX
Trait Implementations§
source§impl<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocFloatX: Allocator<floatX>, AllocV8: Allocator<v8>, AllocS16: Allocator<s16>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHistogramLiteral: Allocator<HistogramLiteral>, AllocHistogramCommand: Allocator<HistogramCommand>, AllocHistogramDistance: Allocator<HistogramDistance>, AllocHistogramPair: Allocator<HistogramPair>, AllocContextType: Allocator<ContextType>, AllocHuffmanTree: Allocator<HuffmanTree>, AllocZopfliNode: Allocator<ZopfliNode>> Allocator<HistogramCommand> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>
impl<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocFloatX: Allocator<floatX>, AllocV8: Allocator<v8>, AllocS16: Allocator<s16>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHistogramLiteral: Allocator<HistogramLiteral>, AllocHistogramCommand: Allocator<HistogramCommand>, AllocHistogramDistance: Allocator<HistogramDistance>, AllocHistogramPair: Allocator<HistogramPair>, AllocContextType: Allocator<ContextType>, AllocHuffmanTree: Allocator<HuffmanTree>, AllocZopfliNode: Allocator<ZopfliNode>> Allocator<HistogramCommand> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>
type AllocatedMemory = <AllocHistogramCommand as Allocator<HistogramCommand>>::AllocatedMemory
fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HistogramCommand>>::AllocatedMemory
fn free_cell( &mut self, data: <Self as Allocator<HistogramCommand>>::AllocatedMemory )
source§impl Clone for HistogramCommand
impl Clone for HistogramCommand
source§fn clone(&self) -> HistogramCommand
fn clone(&self) -> HistogramCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CostAccessors for HistogramCommand
impl CostAccessors for HistogramCommand
source§impl Default for HistogramCommand
impl Default for HistogramCommand
source§fn default() -> HistogramCommand
fn default() -> HistogramCommand
Returns the “default value” for a type. Read more
source§impl SliceWrapper<u32> for HistogramCommand
impl SliceWrapper<u32> for HistogramCommand
source§impl SliceWrapperMut<u32> for HistogramCommand
impl SliceWrapperMut<u32> for HistogramCommand
Auto Trait Implementations§
impl RefUnwindSafe for HistogramCommand
impl Send for HistogramCommand
impl Sync for HistogramCommand
impl Unpin for HistogramCommand
impl UnwindSafe for HistogramCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more