Home
last modified time | relevance | path

Searched refs:Borrowed (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/rust/alloc/
Dborrow.rs189 Borrowed(#[stable(feature = "rust1", since = "1.0.0")] &'a B), enumerator
200 Borrowed(b) => Borrowed(b), in clone()
235 Borrowed(_) => true, in is_borrowed()
280 Borrowed(borrowed) => { in to_mut()
283 Borrowed(..) => unreachable!(), in to_mut()
328 Borrowed(borrowed) => borrowed.to_owned(), in into_owned()
344 Borrowed(borrowed) => borrowed, in deref()
394 Borrowed(ref b) => fmt::Debug::fmt(b, f), in fmt()
407 Borrowed(ref b) => fmt::Display::fmt(b, f), in fmt()
471 *self = Cow::Borrowed(rhs) in add_assign()
[all …]
Dboxed.rs1457 Cow::Borrowed(slice) => Box::from(slice), in from()
1512 Cow::Borrowed(s) => Box::from(s), in from()