6 lines
16 KiB
HTML
6 lines
16 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 `SliceWrapperMut` trait in crate `brotli`."><title>SliceWrapperMut in brotli - 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="#">SliceWrapperMut</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="#">Slice<wbr>Wrapper<wbr>Mut</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.slice_mut" title="slice_mut">slice_mut</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-SliceWrapperMut%3C%26mut+%5BT%5D%3E-for-HeapPrealloc%3C'a,+T%3E" title="HeapPrealloc<'a, T>">HeapPrealloc<'a, T></a></li><li><a href="#impl-SliceWrapperMut%3CT%3E-for-WrapBox%3CT%3E" title="WrapBox<T>">WrapBox<T></a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate brotli</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></div><h1>Trait <span class="trait">Slice<wbr>Wrapper<wbr>Mut</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/alloc_no_stdlib/allocated_memory/mod.rs.html#15">Source</a> </span></div><pre class="rust item-decl"><code>pub trait SliceWrapperMut<T>: <a class="trait" href="trait.SliceWrapper.html" title="trait brotli::SliceWrapper">SliceWrapper</a><T> {
|
|
// Required method
|
|
fn <a href="#tymethod.slice_mut" class="fn">slice_mut</a>(&mut self) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>;
|
|
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.slice_mut" class="method"><a class="src rightside" href="../src/alloc_no_stdlib/allocated_memory/mod.rs.html#16">Source</a><h4 class="code-header">fn <a href="#tymethod.slice_mut" class="fn">slice_mut</a>(&mut self) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a></h4></section></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-SliceWrapperMut%3C%26mut+%5BT%5D%3E-for-HeapPrealloc%3C'a,+T%3E" class="impl"><a class="src rightside" href="../src/alloc_stdlib/heap_alloc.rs.html#106">Source</a><a href="#impl-SliceWrapperMut%3C%26mut+%5BT%5D%3E-for-HeapPrealloc%3C'a,+T%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><&'a mut <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>> for <a class="struct" href="../alloc_stdlib/heap_alloc/struct.HeapPrealloc.html" title="struct alloc_stdlib::heap_alloc::HeapPrealloc">HeapPrealloc</a><'a, T><div class="where">where
|
|
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="method.slice_mut" class="method trait-impl"><a class="src rightside" href="../src/alloc_stdlib/heap_alloc.rs.html#106">Source</a><a href="#method.slice_mut" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.slice_mut" class="fn">slice_mut</a>(&mut self) -> &mut [&'a mut <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a>]</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SliceWrapperMut%3CT%3E-for-WrapBox%3CT%3E" class="impl"><a class="src rightside" href="../src/alloc_stdlib/heap_alloc.rs.html#38">Source</a><a href="#impl-SliceWrapperMut%3CT%3E-for-WrapBox%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><T> for <a class="struct" href="../alloc_stdlib/heap_alloc/struct.WrapBox.html" title="struct alloc_stdlib::heap_alloc::WrapBox">WrapBox</a><T></h3></section></summary><div class="impl-items"><section id="method.slice_mut-1" class="method trait-impl"><a class="src rightside" href="../src/alloc_stdlib/heap_alloc.rs.html#39">Source</a><a href="#method.slice_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.slice_mut" class="fn">slice_mut</a>(&mut self) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.slice.html">[T]</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-SliceWrapperMut%3Cu32%3E-for-HistogramCommand" class="impl"><a class="src rightside" href="../src/brotli/enc/histogram.rs.html#232-237">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-HistogramCommand" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/histogram/struct.HistogramCommand.html" title="struct brotli::enc::histogram::HistogramCommand">HistogramCommand</a></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-HistogramDistance" class="impl"><a class="src rightside" href="../src/brotli/enc/histogram.rs.html#274-279">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-HistogramDistance" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/histogram/struct.HistogramDistance.html" title="struct brotli::enc::histogram::HistogramDistance">HistogramDistance</a></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-HistogramLiteral" class="impl"><a class="src rightside" href="../src/brotli/enc/histogram.rs.html#109-114">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-HistogramLiteral" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/histogram/struct.HistogramLiteral.html" title="struct brotli::enc::histogram::HistogramLiteral">HistogramLiteral</a></h3></section><section id="impl-SliceWrapperMut%3Cu8%3E-for-InputReferenceMut%3C'a%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/input_pair.rs.html#35-39">Source</a><a href="#impl-SliceWrapperMut%3Cu8%3E-for-InputReferenceMut%3C'a%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>> for <a class="struct" href="enc/input_pair/struct.InputReferenceMut.html" title="struct brotli::enc::input_pair::InputReferenceMut">InputReferenceMut</a><'a></h3></section><section id="impl-SliceWrapperMut%3CT%3E-for-AllocatedStackMemory%3C'a,+T%3E" class="impl"><a class="src rightside" href="../src/alloc_no_stdlib/allocated_stack_memory.rs.html#25">Source</a><a href="#impl-SliceWrapperMut%3CT%3E-for-AllocatedStackMemory%3C'a,+T%3E" class="anchor">§</a><h3 class="code-header">impl<'a, T> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><T> for <a class="struct" href="struct.AllocatedStackMemory.html" title="struct brotli::AllocatedStackMemory">AllocatedStackMemory</a><'a, T><div class="where">where
|
|
T: 'a,</div></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-H10Buckets%3CAllocU32%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/backward_references/hash_to_binary_tree.rs.html#99-104">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-H10Buckets%3CAllocU32%3E" class="anchor">§</a><h3 class="code-header">impl<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>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/backward_references/hash_to_binary_tree/struct.H10Buckets.html" title="struct brotli::enc::backward_references::hash_to_binary_tree::H10Buckets">H10Buckets</a><AllocU32></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-H2Sub%3CAllocU32%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/backward_references/mod.rs.html#489-493">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-H2Sub%3CAllocU32%3E" class="anchor">§</a><h3 class="code-header">impl<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>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/backward_references/struct.H2Sub.html" title="struct brotli::enc::backward_references::H2Sub">H2Sub</a><AllocU32></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-H3Sub%3CAllocU32%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/backward_references/mod.rs.html#502-506">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-H3Sub%3CAllocU32%3E" class="anchor">§</a><h3 class="code-header">impl<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>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/backward_references/struct.H3Sub.html" title="struct brotli::enc::backward_references::H3Sub">H3Sub</a><AllocU32></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-H4Sub%3CAllocU32%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/backward_references/mod.rs.html#547-551">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-H4Sub%3CAllocU32%3E" class="anchor">§</a><h3 class="code-header">impl<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>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/backward_references/struct.H4Sub.html" title="struct brotli::enc::backward_references::H4Sub">H4Sub</a><AllocU32></h3></section><section id="impl-SliceWrapperMut%3Cu32%3E-for-H54Sub%3CAllocU32%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/backward_references/mod.rs.html#577-581">Source</a><a href="#impl-SliceWrapperMut%3Cu32%3E-for-H54Sub%3CAllocU32%3E" class="anchor">§</a><h3 class="code-header">impl<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>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>> for <a class="struct" href="enc/backward_references/struct.H54Sub.html" title="struct brotli::enc::backward_references::H54Sub">H54Sub</a><AllocU32></h3></section><section id="impl-SliceWrapperMut%3Cu8%3E-for-LiteralCommand%3CSliceType%3E" class="impl"><a class="src rightside" href="../src/brotli/enc/interface.rs.html#434-441">Source</a><a href="#impl-SliceWrapperMut%3Cu8%3E-for-LiteralCommand%3CSliceType%3E" class="anchor">§</a><h3 class="code-header">impl<SliceType: <a class="trait" href="trait.SliceWrapper.html" title="trait brotli::SliceWrapper">SliceWrapper</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>> + <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>> <a class="trait" href="trait.SliceWrapperMut.html" title="trait brotli::SliceWrapperMut">SliceWrapperMut</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>> for <a class="struct" href="enc/interface/struct.LiteralCommand.html" title="struct brotli::enc::interface::LiteralCommand">LiteralCommand</a><SliceType></h3></section></div><script src="../trait.impl/alloc_no_stdlib/allocated_memory/trait.SliceWrapperMut.js" data-ignore-extern-crates="alloc_no_stdlib,alloc_stdlib" async></script></section></div></main></body></html> |