Files
GopherGate/target/doc/brotli/enc/combined_alloc/trait.BrotliAlloc.html
2026-02-26 12:00:21 -05:00

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>&nbsp;<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>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u64.html">u64</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../command/struct.Command.html" title="struct brotli::enc::command::Command">Command</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../util/type.floatX.html" title="type brotli::enc::util::floatX">floatX</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../type.v8.html" title="type brotli::enc::v8">v8</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../type.s16.html" title="type brotli::enc::s16">s16</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../pdf/struct.PDF.html" title="struct brotli::enc::pdf::PDF">PDF</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../interface/type.StaticCommand.html" title="type brotli::enc::interface::StaticCommand">StaticCommand</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramLiteral.html" title="struct brotli::enc::histogram::HistogramLiteral">HistogramLiteral</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramCommand.html" title="struct brotli::enc::histogram::HistogramCommand">HistogramCommand</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramDistance.html" title="struct brotli::enc::histogram::HistogramDistance">HistogramDistance</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../cluster/struct.HistogramPair.html" title="struct brotli::enc::cluster::HistogramPair">HistogramPair</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="enum" href="../histogram/enum.ContextType.html" title="enum brotli::enc::histogram::ContextType">ContextType</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../entropy_encode/struct.HuffmanTree.html" title="struct brotli::enc::entropy_encode::HuffmanTree">HuffmanTree</a>&gt;
+ <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<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>&gt; { }</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&lt;AllocU8: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;, AllocU16: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>&gt;, AllocI32: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a>&gt;, AllocU32: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>&gt;, AllocU64: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u64.html">u64</a>&gt;, AllocCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../command/struct.Command.html" title="struct brotli::enc::command::Command">Command</a>&gt;, AllocFloatX: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../util/type.floatX.html" title="type brotli::enc::util::floatX">floatX</a>&gt;, AllocV8: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../type.v8.html" title="type brotli::enc::v8">v8</a>&gt;, AllocS16: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../type.s16.html" title="type brotli::enc::s16">s16</a>&gt;, AllocPDF: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../pdf/struct.PDF.html" title="struct brotli::enc::pdf::PDF">PDF</a>&gt;, AllocStaticCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="type" href="../interface/type.StaticCommand.html" title="type brotli::enc::interface::StaticCommand">StaticCommand</a>&gt;, AllocHistogramLiteral: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramLiteral.html" title="struct brotli::enc::histogram::HistogramLiteral">HistogramLiteral</a>&gt;, AllocHistogramCommand: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramCommand.html" title="struct brotli::enc::histogram::HistogramCommand">HistogramCommand</a>&gt;, AllocHistogramDistance: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../histogram/struct.HistogramDistance.html" title="struct brotli::enc::histogram::HistogramDistance">HistogramDistance</a>&gt;, AllocHistogramPair: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../cluster/struct.HistogramPair.html" title="struct brotli::enc::cluster::HistogramPair">HistogramPair</a>&gt;, AllocContextType: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="enum" href="../histogram/enum.ContextType.html" title="enum brotli::enc::histogram::ContextType">ContextType</a>&gt;, AllocHuffmanTree: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<a class="struct" href="../entropy_encode/struct.HuffmanTree.html" title="struct brotli::enc::entropy_encode::HuffmanTree">HuffmanTree</a>&gt;, AllocZopfliNode: <a class="trait" href="../../trait.Allocator.html" title="trait brotli::Allocator">Allocator</a>&lt;<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>&gt;&gt; <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>&lt;AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode&gt;</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>