[−][src]Struct brotli::enc::histogram::HistogramCommand
Fields
data_: [u32; 704]
total_count_: usize
bit_cost_: floatX
Trait Implementations
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>
[src]
type AllocatedMemory = AllocHistogramCommand::AllocatedMemory
fn alloc_cell(&mut self, size: usize) -> Self::AllocatedMemory
[src]
fn free_cell(&mut self, data: Self::AllocatedMemory)
[src]
impl Clone for HistogramCommand
[src]
fn clone(&self) -> HistogramCommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CostAccessors for HistogramCommand
[src]
type i32vec = HistogramCommandScratch
fn make_nnz_storage() -> Self::i32vec
[src]
fn total_count(&self) -> usize
[src]
fn bit_cost(&self) -> floatX
[src]
fn set_bit_cost(&mut self, data: floatX)
[src]
fn set_total_count(&mut self, data: usize)
[src]
impl Default for HistogramCommand
[src]
fn default() -> HistogramCommand
[src]
impl SliceWrapper<u32> for HistogramCommand
[src]
impl SliceWrapperMut<u32> for HistogramCommand
[src]
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
impl<T, U> AllocatedSlice<T> for U where
U: SliceWrapperMut<T> + SliceWrapper<T> + Default,
[src]
U: SliceWrapperMut<T> + SliceWrapper<T> + Default,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,