19 lines
13 KiB
HTML
19 lines
13 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `BrotliAlloc` trait in crate `brotli`."><title>BrotliAlloc in brotli::enc::combined_alloc - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="brotli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">BrotliAlloc</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../brotli/index.html">brotli</a><span class="version">8.0.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Brotli<wbr>Alloc</a></h2><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In brotli::<wbr>enc::<wbr>combined_<wbr>alloc</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">brotli</a>::<wbr><a href="../index.html">enc</a>::<wbr><a href="index.html">combined_alloc</a></div><h1>Trait <span class="trait">Brotli<wbr>Alloc</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/brotli/enc/combined_alloc.rs.html#33-53">Source</a> </span></div><pre class="rust item-decl"><code>pub trait BrotliAlloc:
|
|
<a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u64.html">u64</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../command/struct.Command.html" title="struct brotli::enc::command::Command">Command</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../util/type.floatX.html" title="type brotli::enc::util::floatX">floatX</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../type.v8.html" title="type brotli::enc::v8">v8</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../type.s16.html" title="type brotli::enc::s16">s16</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../pdf/struct.PDF.html" title="struct brotli::enc::pdf::PDF">PDF</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../interface/type.StaticCommand.html" title="type brotli::enc::interface::StaticCommand">StaticCommand</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramLiteral.html" title="struct brotli::enc::histogram::HistogramLiteral">HistogramLiteral</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramCommand.html" title="struct brotli::enc::histogram::HistogramCommand">HistogramCommand</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramDistance.html" title="struct brotli::enc::histogram::HistogramDistance">HistogramDistance</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../cluster/struct.HistogramPair.html" title="struct brotli::enc::cluster::HistogramPair">HistogramPair</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="enum" href="../histogram/enum.ContextType.html" title="enum brotli::enc::histogram::ContextType">ContextType</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../entropy_encode/struct.HuffmanTree.html" title="struct brotli::enc::entropy_encode::HuffmanTree">HuffmanTree</a>>
|
|
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../backward_references/hash_to_binary_tree/struct.ZopfliNode.html" title="struct brotli::enc::backward_references::hash_to_binary_tree::ZopfliNode">ZopfliNode</a>> { }</code></pre><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-BrotliAlloc-for-StandardAlloc" class="impl"><a class="src rightside" href="../../../src/brotli/enc/combined_alloc.rs.html#56">Source</a><a href="#impl-BrotliAlloc-for-StandardAlloc" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> for <a class="struct" href="../struct.StandardAlloc.html" title="struct brotli::enc::StandardAlloc">StandardAlloc</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>std</code></strong> only.</div></span></section><section id="impl-BrotliAlloc-for-CombiningAllocator%3CAllocU8,+AllocU16,+AllocI32,+AllocU32,+AllocU64,+AllocCommand,+AllocFloatX,+AllocV8,+AllocS16,+AllocPDF,+AllocStaticCommand,+AllocHistogramLiteral,+AllocHistogramCommand,+AllocHistogramDistance,+AllocHistogramPair,+AllocContextType,+AllocHuffmanTree,+AllocZopfliNode%3E" class="impl"><a class="src rightside" href="../../../src/brotli/enc/combined_alloc.rs.html#182-223">Source</a><a href="#impl-BrotliAlloc-for-CombiningAllocator%3CAllocU8,+AllocU16,+AllocI32,+AllocU32,+AllocU64,+AllocCommand,+AllocFloatX,+AllocV8,+AllocS16,+AllocPDF,+AllocStaticCommand,+AllocHistogramLiteral,+AllocHistogramCommand,+AllocHistogramDistance,+AllocHistogramPair,+AllocContextType,+AllocHuffmanTree,+AllocZopfliNode%3E" class="anchor">§</a><h3 class="code-header">impl<AllocU8: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>, AllocU16: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>>, AllocI32: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a>>, AllocU32: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>>, AllocU64: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u64.html">u64</a>>, AllocCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../command/struct.Command.html" title="struct brotli::enc::command::Command">Command</a>>, AllocFloatX: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../util/type.floatX.html" title="type brotli::enc::util::floatX">floatX</a>>, AllocV8: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../type.v8.html" title="type brotli::enc::v8">v8</a>>, AllocS16: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../type.s16.html" title="type brotli::enc::s16">s16</a>>, AllocPDF: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../pdf/struct.PDF.html" title="struct brotli::enc::pdf::PDF">PDF</a>>, AllocStaticCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="type" href="../interface/type.StaticCommand.html" title="type brotli::enc::interface::StaticCommand">StaticCommand</a>>, AllocHistogramLiteral: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramLiteral.html" title="struct brotli::enc::histogram::HistogramLiteral">HistogramLiteral</a>>, AllocHistogramCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramCommand.html" title="struct brotli::enc::histogram::HistogramCommand">HistogramCommand</a>>, AllocHistogramDistance: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../histogram/struct.HistogramDistance.html" title="struct brotli::enc::histogram::HistogramDistance">HistogramDistance</a>>, AllocHistogramPair: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../cluster/struct.HistogramPair.html" title="struct brotli::enc::cluster::HistogramPair">HistogramPair</a>>, AllocContextType: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="enum" href="../histogram/enum.ContextType.html" title="enum brotli::enc::histogram::ContextType">ContextType</a>>, AllocHuffmanTree: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../entropy_encode/struct.HuffmanTree.html" title="struct brotli::enc::entropy_encode::HuffmanTree">HuffmanTree</a>>, AllocZopfliNode: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a><<a class="struct" href="../backward_references/hash_to_binary_tree/struct.ZopfliNode.html" title="struct brotli::enc::backward_references::hash_to_binary_tree::ZopfliNode">ZopfliNode</a>>> <a class="trait" href="trait.BrotliAlloc.html" title="trait brotli::enc::combined_alloc::BrotliAlloc">BrotliAlloc</a> for <a class="struct" href="struct.CombiningAllocator.html" title="struct brotli::enc::combined_alloc::CombiningAllocator">CombiningAllocator</a><AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode></h3></section></div><script src="../../../trait.impl/brotli/enc/combined_alloc/trait.BrotliAlloc.js" data-ignore-extern-crates="alloc_stdlib" async></script></section></div></main></body></html> |