pub struct CombiningAllocator<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>> {
Show 18 fields alloc_u8: AllocU8, alloc_u16: AllocU16, alloc_i32: AllocI32, alloc_u32: AllocU32, alloc_u64: AllocU64, alloc_c: AllocCommand, alloc_f: AllocFloatX, alloc_f32x8: AllocV8, alloc_i16x16: AllocS16, alloc_pdf: AllocPDF, alloc_sc: AllocStaticCommand, alloc_hl: AllocHistogramLiteral, alloc_hc: AllocHistogramCommand, alloc_hd: AllocHistogramDistance, alloc_hp: AllocHistogramPair, alloc_ct: AllocContextType, alloc_ht: AllocHuffmanTree, alloc_zn: AllocZopfliNode,
}

Fields§

§alloc_u8: AllocU8§alloc_u16: AllocU16§alloc_i32: AllocI32§alloc_u32: AllocU32§alloc_u64: AllocU64§alloc_c: AllocCommand§alloc_f: AllocFloatX§alloc_f32x8: AllocV8§alloc_i16x16: AllocS16§alloc_pdf: AllocPDF§alloc_sc: AllocStaticCommand§alloc_hl: AllocHistogramLiteral§alloc_hc: AllocHistogramCommand§alloc_hd: AllocHistogramDistance§alloc_hp: AllocHistogramPair§alloc_ct: AllocContextType§alloc_ht: AllocHuffmanTree§alloc_zn: AllocZopfliNode

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>> CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

source

pub fn new( alloc_u8: AllocU8, alloc_u16: AllocU16, alloc_i32: AllocI32, alloc_u32: AllocU32, alloc_u64: AllocU64, alloc_c: AllocCommand, alloc_f: AllocFloatX, alloc_f32x8: AllocV8, alloc_i16x16: AllocS16, alloc_pdf: AllocPDF, alloc_sc: AllocStaticCommand, alloc_hl: AllocHistogramLiteral, alloc_hc: AllocHistogramCommand, alloc_hd: AllocHistogramDistance, alloc_hp: AllocHistogramPair, alloc_ct: AllocContextType, alloc_ht: AllocHuffmanTree, alloc_zn: AllocZopfliNode ) -> Self

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<Command<SliceOffset>> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocStaticCommand as Allocator<Command<SliceOffset>>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<StaticCommand>>::AllocatedMemory

source§

fn free_cell( &mut self, data: <Self as Allocator<StaticCommand>>::AllocatedMemory )

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<Command> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocCommand as Allocator<Command>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<Command>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<Command>>::AllocatedMemory)

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<Compat16x16> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocS16 as Allocator<Compat16x16>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<s16>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<s16>>::AllocatedMemory)

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<CompatF8> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocV8 as Allocator<CompatF8>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<v8>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<v8>>::AllocatedMemory)

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<ContextType> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocContextType as Allocator<ContextType>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<ContextType>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<ContextType>>::AllocatedMemory)

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>

§

type AllocatedMemory = <AllocHistogramCommand as Allocator<HistogramCommand>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HistogramCommand>>::AllocatedMemory

source§

fn free_cell( &mut self, data: <Self as Allocator<HistogramCommand>>::AllocatedMemory )

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<HistogramDistance> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocHistogramDistance as Allocator<HistogramDistance>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HistogramDistance>>::AllocatedMemory

source§

fn free_cell( &mut self, data: <Self as Allocator<HistogramDistance>>::AllocatedMemory )

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<HistogramLiteral> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocHistogramLiteral as Allocator<HistogramLiteral>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HistogramLiteral>>::AllocatedMemory

source§

fn free_cell( &mut self, data: <Self as Allocator<HistogramLiteral>>::AllocatedMemory )

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<HistogramPair> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocHistogramPair as Allocator<HistogramPair>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HistogramPair>>::AllocatedMemory

source§

fn free_cell( &mut self, data: <Self as Allocator<HistogramPair>>::AllocatedMemory )

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<HuffmanTree> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocHuffmanTree as Allocator<HuffmanTree>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<HuffmanTree>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<HuffmanTree>>::AllocatedMemory)

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<PDF> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocPDF as Allocator<PDF>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<PDF>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<PDF>>::AllocatedMemory)

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<ZopfliNode> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocZopfliNode as Allocator<ZopfliNode>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<ZopfliNode>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<ZopfliNode>>::AllocatedMemory)

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<f32> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocFloatX as Allocator<f32>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<floatX>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<floatX>>::AllocatedMemory)

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<i32> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocI32 as Allocator<i32>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<i32>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<i32>>::AllocatedMemory)

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<u16> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocU16 as Allocator<u16>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<u16>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<u16>>::AllocatedMemory)

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<u32> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocU32 as Allocator<u32>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<u32>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<u32>>::AllocatedMemory)

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<u64> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocU64 as Allocator<u64>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<u64>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<u64>>::AllocatedMemory)

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<u8> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocU8 as Allocator<u8>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize ) -> <Self as Allocator<u8>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<u8>>::AllocatedMemory)

source§

impl<AllocU8: Allocator<u8> + Clone, AllocU16: Allocator<u16> + Clone, AllocI32: Allocator<i32> + Clone, AllocU32: Allocator<u32> + Clone, AllocU64: Allocator<u64> + Clone, AllocCommand: Allocator<Command> + Clone, AllocFloatX: Allocator<floatX> + Clone, AllocV8: Allocator<v8> + Clone, AllocS16: Allocator<s16> + Clone, AllocPDF: Allocator<PDF> + Clone, AllocStaticCommand: Allocator<StaticCommand> + Clone, AllocHistogramLiteral: Allocator<HistogramLiteral> + Clone, AllocHistogramCommand: Allocator<HistogramCommand> + Clone, AllocHistogramDistance: Allocator<HistogramDistance> + Clone, AllocHistogramPair: Allocator<HistogramPair> + Clone, AllocContextType: Allocator<ContextType> + Clone, AllocHuffmanTree: Allocator<HuffmanTree> + Clone, AllocZopfliNode: Allocator<ZopfliNode> + Clone> Clone for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<AllocU8: Allocator<u8> + Default, AllocU16: Allocator<u16> + Default, AllocI32: Allocator<i32> + Default, AllocU32: Allocator<u32> + Default, AllocU64: Allocator<u64> + Default, AllocCommand: Allocator<Command> + Default, AllocFloatX: Allocator<floatX> + Default, AllocV8: Allocator<v8> + Default, AllocS16: Allocator<s16> + Default, AllocPDF: Allocator<PDF> + Default, AllocStaticCommand: Allocator<StaticCommand> + Default, AllocHistogramLiteral: Allocator<HistogramLiteral> + Default, AllocHistogramCommand: Allocator<HistogramCommand> + Default, AllocHistogramDistance: Allocator<HistogramDistance> + Default, AllocHistogramPair: Allocator<HistogramPair> + Default, AllocContextType: Allocator<ContextType> + Default, AllocHuffmanTree: Allocator<HuffmanTree> + Default, AllocZopfliNode: Allocator<ZopfliNode> + Default> Default for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
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>> BrotliAlloc for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

source§

impl<AllocU8: Allocator<u8> + Copy, AllocU16: Allocator<u16> + Copy, AllocI32: Allocator<i32> + Copy, AllocU32: Allocator<u32> + Copy, AllocU64: Allocator<u64> + Copy, AllocCommand: Allocator<Command> + Copy, AllocFloatX: Allocator<floatX> + Copy, AllocV8: Allocator<v8> + Copy, AllocS16: Allocator<s16> + Copy, AllocPDF: Allocator<PDF> + Copy, AllocStaticCommand: Allocator<StaticCommand> + Copy, AllocHistogramLiteral: Allocator<HistogramLiteral> + Copy, AllocHistogramCommand: Allocator<HistogramCommand> + Copy, AllocHistogramDistance: Allocator<HistogramDistance> + Copy, AllocHistogramPair: Allocator<HistogramPair> + Copy, AllocContextType: Allocator<ContextType> + Copy, AllocHuffmanTree: Allocator<HuffmanTree> + Copy, AllocZopfliNode: Allocator<ZopfliNode> + Copy> Copy for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

Auto Trait Implementations§

§

impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> RefUnwindSafe for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where AllocCommand: RefUnwindSafe, AllocContextType: RefUnwindSafe, AllocFloatX: RefUnwindSafe, AllocHistogramCommand: RefUnwindSafe, AllocHistogramDistance: RefUnwindSafe, AllocHistogramLiteral: RefUnwindSafe, AllocHistogramPair: RefUnwindSafe, AllocHuffmanTree: RefUnwindSafe, AllocI32: RefUnwindSafe, AllocPDF: RefUnwindSafe, AllocS16: RefUnwindSafe, AllocStaticCommand: RefUnwindSafe, AllocU16: RefUnwindSafe, AllocU32: RefUnwindSafe, AllocU64: RefUnwindSafe, AllocU8: RefUnwindSafe, AllocV8: RefUnwindSafe, AllocZopfliNode: RefUnwindSafe,

§

impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> Send for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where AllocCommand: Send, AllocContextType: Send, AllocFloatX: Send, AllocHistogramCommand: Send, AllocHistogramDistance: Send, AllocHistogramLiteral: Send, AllocHistogramPair: Send, AllocHuffmanTree: Send, AllocI32: Send, AllocPDF: Send, AllocS16: Send, AllocStaticCommand: Send, AllocU16: Send, AllocU32: Send, AllocU64: Send, AllocU8: Send, AllocV8: Send, AllocZopfliNode: Send,

§

impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> Sync for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where AllocCommand: Sync, AllocContextType: Sync, AllocFloatX: Sync, AllocHistogramCommand: Sync, AllocHistogramDistance: Sync, AllocHistogramLiteral: Sync, AllocHistogramPair: Sync, AllocHuffmanTree: Sync, AllocI32: Sync, AllocPDF: Sync, AllocS16: Sync, AllocStaticCommand: Sync, AllocU16: Sync, AllocU32: Sync, AllocU64: Sync, AllocU8: Sync, AllocV8: Sync, AllocZopfliNode: Sync,

§

impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> Unpin for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where AllocCommand: Unpin, AllocContextType: Unpin, AllocFloatX: Unpin, AllocHistogramCommand: Unpin, AllocHistogramDistance: Unpin, AllocHistogramLiteral: Unpin, AllocHistogramPair: Unpin, AllocHuffmanTree: Unpin, AllocI32: Unpin, AllocPDF: Unpin, AllocS16: Unpin, AllocStaticCommand: Unpin, AllocU16: Unpin, AllocU32: Unpin, AllocU64: Unpin, AllocU8: Unpin, AllocV8: Unpin, AllocZopfliNode: Unpin,

§

impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> UnwindSafe for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where AllocCommand: UnwindSafe, AllocContextType: UnwindSafe, AllocFloatX: UnwindSafe, AllocHistogramCommand: UnwindSafe, AllocHistogramDistance: UnwindSafe, AllocHistogramLiteral: UnwindSafe, AllocHistogramPair: UnwindSafe, AllocHuffmanTree: UnwindSafe, AllocI32: UnwindSafe, AllocPDF: UnwindSafe, AllocS16: UnwindSafe, AllocStaticCommand: UnwindSafe, AllocU16: UnwindSafe, AllocU32: UnwindSafe, AllocU64: UnwindSafe, AllocU8: UnwindSafe, AllocV8: UnwindSafe, AllocZopfliNode: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.