Skip to main content

BrotliAlloc

Trait BrotliAlloc 

Source
pub trait BrotliAlloc:
    Allocator<u8>
    + Allocator<u16>
    + Allocator<i32>
    + Allocator<u32>
    + Allocator<u64>
    + Allocator<Command>
    + Allocator<floatX>
    + Allocator<v8>
    + Allocator<s16>
    + Allocator<PDF>
    + Allocator<StaticCommand>
    + Allocator<HistogramLiteral>
    + Allocator<HistogramCommand>
    + Allocator<HistogramDistance>
    + Allocator<HistogramPair>
    + Allocator<ContextType>
    + Allocator<HuffmanTree>
    + Allocator<ZopfliNode> { }

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl BrotliAlloc for StandardAlloc

Available on crate feature std only.
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>