[−][src]Struct brotli::enc::histogram::HistogramLiteral
Fields
data_: [u32; 256]
total_count_: usize
bit_cost_: floatX
Trait Implementations
impl CostAccessors for HistogramLiteral
[src]
type i32vec = HistogramLiteralScratch
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 Clone for HistogramLiteral
[src]
fn clone(&self) -> HistogramLiteral
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for HistogramLiteral
[src]
fn default() -> HistogramLiteral
[src]
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<HistogramLiteral> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>
[src]
type AllocatedMemory = AllocHistogramLiteral::AllocatedMemory
fn alloc_cell(&mut self, size: usize) -> Self::AllocatedMemory
[src]
fn free_cell(&mut self, data: Self::AllocatedMemory)
[src]
impl SliceWrapperMut<u32> for HistogramLiteral
[src]
impl SliceWrapper<u32> for HistogramLiteral
[src]
Auto Trait Implementations
impl Send for HistogramLiteral
impl Sync for HistogramLiteral
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> AllocatedSlice for U where
U: SliceWrapperMut<T> + SliceWrapper<T> + Default,
[src]
U: SliceWrapperMut<T> + SliceWrapper<T> + Default,