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

Skip to content

Commit 7507308

Browse files
committed
1 parent f8a7f9e commit 7507308

File tree

153 files changed

+12684
-12656
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+12684
-12656
lines changed

api/musli/compat/struct.Bytes.html

+4-4
Large diffs are not rendered by default.

api/musli/compat/struct.Packed.html

+10-10
Large diffs are not rendered by default.

api/rune/alloc/alloc/struct.AllocError.html

+1-1
Large diffs are not rendered by default.

api/rune/alloc/alloc/struct.Global.html

+1-1
Large diffs are not rendered by default.

api/rune/alloc/borrow/enum.Cow.html

+5-7
Large diffs are not rendered by default.

api/rune/alloc/borrow/trait.TryToOwned.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ <h5 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h5>
1919
<span class="kw">let </span>s: <span class="kw-2">&amp;</span>str = <span class="string">"a"</span>;
2020
<span class="kw">let </span>ss: String = s.try_to_owned()<span class="question-mark">?</span>;</code></pre></div>
2121
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-TryToOwned-for-str" class="impl"><a class="src rightside" href="../../../src/rune_alloc/str.rs.html#62">Source</a><a href="#impl-TryToOwned-for-str" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/str.rs.html#63">Source</a><a href="#associatedtype.Owned-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../struct.String.html" title="struct rune::alloc::String">String</a></h4></section><section id="method.try_to_owned" class="method trait-impl"><a class="src rightside" href="../../../src/rune_alloc/str.rs.html#66">Source</a><a href="#method.try_to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_to_owned" class="fn">try_to_owned</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.String.html" title="struct rune::alloc::String">String</a>, <a class="enum" href="../enum.Error.html" title="enum rune::alloc::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-%5BT%5D" class="impl"><a class="src rightside" href="../../../src/rune_alloc/slice.rs.html#88-90">Source</a><a href="#impl-TryToOwned-for-%5BT%5D" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a><div class="where">where
22-
T: <a class="trait" href="../clone/trait.TryClone.html" title="trait rune::alloc::clone::TryClone">TryClone</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/slice.rs.html#92">Source</a><a href="#associatedtype.Owned-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../struct.Vec.html" title="struct rune::alloc::Vec">Vec</a>&lt;T&gt;</h4></section><section id="method.try_to_owned-1" class="method trait-impl"><a class="src rightside" href="../../../src/rune_alloc/slice.rs.html#95">Source</a><a href="#method.try_to_owned-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_to_owned" class="fn">try_to_owned</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a> as <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a>&gt;::<a class="associatedtype" href="trait.TryToOwned.html#associatedtype.Owned" title="type rune::alloc::borrow::TryToOwned::Owned">Owned</a>, <a class="enum" href="../enum.Error.html" title="enum rune::alloc::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Tuple" class="impl"><a class="src rightside" href="../../../src/rune/runtime/tuple.rs.html#498-511">Source</a><a href="#impl-TryToOwned-for-Tuple" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../../runtime/struct.Tuple.html" title="struct rune::runtime::Tuple">Tuple</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-3" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune/runtime/tuple.rs.html#499">Source</a><a href="#associatedtype.Owned-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../../runtime/struct.OwnedTuple.html" title="struct rune::runtime::OwnedTuple">OwnedTuple</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Item" class="impl"><a class="src rightside" href="../../../src/rune_core/item/item.rs.html#415">Source</a><a href="#impl-TryToOwned-for-Item" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../../struct.Item.html" title="struct rune::Item">Item</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-4" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_core/item/item.rs.html#416">Source</a><a href="#associatedtype.Owned-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../../struct.ItemBuf.html" title="struct rune::ItemBuf">ItemBuf</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Path" class="impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#57">Source</a><a href="#impl-TryToOwned-for-Path" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../path/struct.Path.html" title="struct rune::alloc::path::Path">Path</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-5" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#58">Source</a><a href="#associatedtype.Owned-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../path/struct.PathBuf.html" title="struct rune::alloc::path::PathBuf">PathBuf</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-T" class="impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#45-47">Source</a><a href="#impl-TryToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for T<div class="where">where
22+
T: <a class="trait" href="../clone/trait.TryClone.html" title="trait rune::alloc::clone::TryClone">TryClone</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/slice.rs.html#92">Source</a><a href="#associatedtype.Owned-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../struct.Vec.html" title="struct rune::alloc::Vec">Vec</a>&lt;T&gt;</h4></section><section id="method.try_to_owned-1" class="method trait-impl"><a class="src rightside" href="../../../src/rune_alloc/slice.rs.html#95">Source</a><a href="#method.try_to_owned-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_to_owned" class="fn">try_to_owned</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a> as <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a>&gt;::<a class="associatedtype" href="trait.TryToOwned.html#associatedtype.Owned" title="type rune::alloc::borrow::TryToOwned::Owned">Owned</a>, <a class="enum" href="../enum.Error.html" title="enum rune::alloc::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Tuple" class="impl"><a class="src rightside" href="../../../src/rune/runtime/tuple.rs.html#495-508">Source</a><a href="#impl-TryToOwned-for-Tuple" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../../runtime/struct.Tuple.html" title="struct rune::runtime::Tuple">Tuple</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-3" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune/runtime/tuple.rs.html#496">Source</a><a href="#associatedtype.Owned-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../../runtime/struct.OwnedTuple.html" title="struct rune::runtime::OwnedTuple">OwnedTuple</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Item" class="impl"><a class="src rightside" href="../../../src/rune_core/item/item.rs.html#415">Source</a><a href="#impl-TryToOwned-for-Item" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../../struct.Item.html" title="struct rune::Item">Item</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-4" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_core/item/item.rs.html#416">Source</a><a href="#associatedtype.Owned-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../../struct.ItemBuf.html" title="struct rune::ItemBuf">ItemBuf</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-Path" class="impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#57">Source</a><a href="#impl-TryToOwned-for-Path" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for <a class="struct" href="../path/struct.Path.html" title="struct rune::alloc::path::Path">Path</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-5" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#58">Source</a><a href="#associatedtype.Owned-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="../path/struct.PathBuf.html" title="struct rune::alloc::path::PathBuf">PathBuf</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryToOwned-for-T" class="impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#45-47">Source</a><a href="#impl-TryToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.TryToOwned.html" title="trait rune::alloc::borrow::TryToOwned">TryToOwned</a> for T<div class="where">where
2323
T: <a class="trait" href="../clone/trait.TryClone.html" title="trait rune::alloc::clone::TryClone">TryClone</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Owned-6" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/rune_alloc/borrow/mod.rs.html#49">Source</a><a href="#associatedtype.Owned-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></div></details></div><script src="../../../trait.impl/rune_alloc/borrow/trait.TryToOwned.js" data-ignore-extern-crates="std,rune_core" async></script></section></div></main></body></html>

0 commit comments

Comments
 (0)