Home
last modified time | relevance | path

Searched defs:borrow (Results 1 – 4 of 4) sorted by relevance

/rust/kernel/
A Dtypes.rs98 unsafe fn borrow<'a>(ptr: *mut c_void) -> Self::Borrowed<'a>; in borrow() method
142 unsafe fn borrow<'a>(_: *mut c_void) -> Self::Borrowed<'a> {} in borrow() method
/rust/kernel/alloc/
A Dkbox.rs423 unsafe fn borrow<'a>(ptr: *mut c_void) -> &'a T { in borrow() function
458 unsafe fn borrow<'a>(ptr: *mut c_void) -> Pin<&'a T> { in borrow() function
531 fn borrow(&self) -> &T { in borrow() function
A Dkvec.rs915 fn borrow(&self) -> &[T] { in borrow() function
/rust/kernel/sync/
A Darc.rs399 unsafe fn borrow<'a>(ptr: *mut c_void) -> ArcBorrow<'a, T> { in borrow() method
452 fn borrow(&self) -> &T { in borrow() method
885 fn borrow(&self) -> &T { in borrow() method

Completed in 9 milliseconds