Home
last modified time | relevance | path

Searched refs:Owned (Results 1 – 4 of 4) sorted by relevance

/rust/alloc/
Dborrow.rs26 <B as ToOwned>::Owned: 'a,
44 type Owned: Borrow<Self>; typedef
61 fn to_owned(&self) -> Self::Owned; in to_owned() argument
80 fn clone_into(&self, target: &mut Self::Owned) { in clone_into() argument
90 type Owned = T; typedef
193 Owned(#[stable(feature = "rust1", since = "1.0.0")] <B as ToOwned>::Owned), enumerator
201 Owned(ref o) => { in clone()
203 Owned(b.to_owned()) in clone()
210 (&mut Owned(ref mut dest), &Owned(ref o)) => o.borrow().clone_into(dest), in clone_from()
236 Owned(_) => false, in is_borrowed()
[all …]
Dboxed.rs1458 Cow::Owned(slice) => Box::from(slice), in from()
1513 Cow::Owned(s) => Box::from(s), in from()
Dslice.rs855 type Owned = Vec<T>; typedef
/rust/alloc/vec/
Dmod.rs3020 [T]: ToOwned<Owned = Vec<T>>,