Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a91d15a

Browse files
committed
1 parent 73a7bc6 commit a91d15a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

api/musli/compat/struct.Bytes.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ <h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
3030
</div></details><h2 id="fields" class="fields section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: T</code></span><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsMut%3C%5Bu8%5D%3E-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#105-113">Source</a><a href="#impl-AsMut%3C%5Bu8%5D%3E-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;<div class="where">where
3131
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_mut" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#110-112">Source</a><a href="#method.as_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html#tymethod.as_mut" class="fn">as_mut</a>(&amp;mut self) -&gt; &amp;mut [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;mut [u8]"></a></h4></section></summary><div class='docblock'>Converts this type into a mutable reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bu8%5D%3E-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#95-103">Source</a><a href="#impl-AsRef%3C%5Bu8%5D%3E-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;<div class="where">where
3232
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#100-102">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]"></a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#impl-Clone-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;</h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#impl-Debug-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decode%3C'de,+Binary%3E-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#impl-Decode%3C'de,+Binary%3E-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, T&gt; <a class="trait" href="../trait.Decode.html" title="trait musli::Decode">Decode</a>&lt;'de, <a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt; for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;<div class="where">where
33-
T: <a class="trait" href="../en/trait.EncodeBytes.html" title="trait musli::en::EncodeBytes">EncodeBytes</a>&lt;<a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt; + <a class="trait" href="../de/trait.DecodeBytes.html" title="trait musli::de::DecodeBytes">DecodeBytes</a>&lt;'de, <a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Decode.html#tymethod.decode" class="fn">decode</a>&lt;T0&gt;(_0: &amp;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a>, _1: T0) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, &lt;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a> as <a class="trait" href="../trait.Context.html" title="trait musli::Context">Context</a>&gt;::<a class="associatedtype" href="../trait.Context.html#associatedtype.Error" title="type musli::Context::Error">Error</a>&gt;<div class="where">where
33+
T: <a class="trait" href="../en/trait.EncodeBytes.html" title="trait musli::en::EncodeBytes">EncodeBytes</a>&lt;<a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt; + <a class="trait" href="../de/trait.DecodeBytes.html" title="trait musli::de::DecodeBytes">DecodeBytes</a>&lt;'de, <a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Decode.html#tymethod.decode" class="fn">decode</a>&lt;T0&gt;(_0: &amp;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a>, _1: T0) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, &lt;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a> as <a class="trait" href="../trait.Context.html" title="trait musli::Context">Context</a>&gt;::<a class="associatedtype" href="../trait.Context.html#associatedtype.Error" title="type musli::Context::Error">Error</a>&gt;<div class="where">where
3434
T0: <a class="trait" href="../trait.Decoder.html" title="trait musli::Decoder">Decoder</a>&lt;'de, Mode = <a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt;,</div></h4></section></summary><div class='docblock'>Decode the given input.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decode%3C'de,+Text%3E-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#impl-Decode%3C'de,+Text%3E-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, T&gt; <a class="trait" href="../trait.Decode.html" title="trait musli::Decode">Decode</a>&lt;'de, <a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt; for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;<div class="where">where
35-
T: <a class="trait" href="../en/trait.EncodeBytes.html" title="trait musli::en::EncodeBytes">EncodeBytes</a>&lt;<a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt; + <a class="trait" href="../de/trait.DecodeBytes.html" title="trait musli::de::DecodeBytes">DecodeBytes</a>&lt;'de, <a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Decode.html#tymethod.decode" class="fn">decode</a>&lt;T0&gt;(_0: &amp;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a>, _1: T0) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, &lt;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a> as <a class="trait" href="../trait.Context.html" title="trait musli::Context">Context</a>&gt;::<a class="associatedtype" href="../trait.Context.html#associatedtype.Error" title="type musli::Context::Error">Error</a>&gt;<div class="where">where
35+
T: <a class="trait" href="../en/trait.EncodeBytes.html" title="trait musli::en::EncodeBytes">EncodeBytes</a>&lt;<a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt; + <a class="trait" href="../de/trait.DecodeBytes.html" title="trait musli::de::DecodeBytes">DecodeBytes</a>&lt;'de, <a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Decode.html#tymethod.decode" class="fn">decode</a>&lt;T0&gt;(_0: &amp;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a>, _1: T0) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, &lt;T0::<a class="associatedtype" href="../trait.Decoder.html#associatedtype.Cx" title="type musli::Decoder::Cx">Cx</a> as <a class="trait" href="../trait.Context.html" title="trait musli::Context">Context</a>&gt;::<a class="associatedtype" href="../trait.Context.html#associatedtype.Error" title="type musli::Context::Error">Error</a>&gt;<div class="where">where
3636
T0: <a class="trait" href="../trait.Decoder.html" title="trait musli::Decoder">Decoder</a>&lt;'de, Mode = <a class="enum" href="../mode/enum.Text.html" title="enum musli::mode::Text">Text</a>&gt;,</div></h4></section></summary><div class='docblock'>Decode the given input.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encode%3CBinary%3E-for-Bytes%3CT%3E" class="impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#impl-Encode%3CBinary%3E-for-Bytes%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../trait.Encode.html" title="trait musli::Encode">Encode</a>&lt;<a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt; for <a class="struct" href="struct.Bytes.html" title="struct musli::compat::Bytes">Bytes</a>&lt;T&gt;<div class="where">where
3737
T: <a class="trait" href="../en/trait.EncodeBytes.html" title="trait musli::en::EncodeBytes">EncodeBytes</a>&lt;<a class="enum" href="../mode/enum.Binary.html" title="enum musli::mode::Binary">Binary</a>&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode-1" class="method trait-impl"><a class="src rightside" href="../../src/musli/compat.rs.html#88">Source</a><a href="#method.encode-1" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Encode.html#tymethod.encode" class="fn">encode</a>&lt;T0&gt;(
3838
&amp;self,

0 commit comments

Comments
 (0)