Home
last modified time | relevance | path

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

/openbmc/linux/rust/kernel/
H A Dtypes.rs25 type Borrowed<'a>; typedef
38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow()
52 type Borrowed<'a> = &'a T; typedef
74 type Borrowed<'a> = (); typedef
80 unsafe fn borrow<'a>(_: *const core::ffi::c_void) -> Self::Borrowed<'a> {} in borrow()
/openbmc/linux/rust/kernel/sync/
H A Darc.rs237 type Borrowed<'a> = ArcBorrow<'a, T>; typedef
/openbmc/linux/rust/alloc/
H A Dboxed.rs1545 Cow::Borrowed(slice) => Box::from(slice), in from()
1600 Cow::Borrowed(s) => Box::from(s), in from()