mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
6 lines
602 B
HTML
6 lines
602 B
HTML
<div class="item-decl"><pre class="rust trait"><code>pub trait ToOwned2<T: <a class="trait" href="{{channel}}/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> {
|
|
type <a href="#associatedtype.Owned" class="associatedtype">Owned</a>;
|
|
|
|
fn <a href="#tymethod.to_owned" class="fn">to_owned</a>(&self) -> Self::<a class="associatedtype" href="trait.ToOwned2.html#associatedtype.Owned" title="type foo::ToOwned2::Owned">Owned</a>;
|
|
<span class="item-spacer" /> fn <a href="#tymethod.whatever" class="fn">whatever</a>(&self) -> T;
|
|
}</code></pre></div> |