2023-01-14 11:58:55 -06:00
|
|
|
<div class="item-decl"><pre class="rust"><code>pub trait ToOwned<T><span class="where fmt-newline">where<br />    T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span>{
|
2022-06-19 09:38:10 -05:00
|
|
|
type <a href="#associatedtype.Owned" class="associatedtype">Owned</a>;
|
|
|
|
|
2022-11-28 11:21:19 -06:00
|
|
|
fn <a href="#tymethod.to_owned" class="fn">to_owned</a>(&self) -> Self::<a class="associatedtype" href="trait.ToOwned.html#associatedtype.Owned" title="type foo::ToOwned::Owned">Owned</a>;
|
|
|
|
<span class="item-spacer" /> fn <a href="#tymethod.whatever" class="fn">whatever</a>(&self) -> T;
|
2022-09-19 14:17:05 -05:00
|
|
|
}</code></pre></div>
|