</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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<T> <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
0 commit comments