Searched refs:ArcBorrow (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/rust/kernel/sync/ |
H A D | arc.rs | 227 unsafe { ArcBorrow::new(self.ptr) } in as_arc_borrow() 237 type Borrowed<'a> = ArcBorrow<'a, T>; 250 unsafe { ArcBorrow::new(inner) } in borrow() 378 pub struct ArcBorrow<'a, T: ?Sized + 'a> { struct 389 for ArcBorrow<'_, T> 393 impl<T: ?Sized> Clone for ArcBorrow<'_, T> { implementation 399 impl<T: ?Sized> Copy for ArcBorrow<'_, T> {} implementation 401 impl<T: ?Sized> ArcBorrow<'_, T> { implementation 418 impl<T: ?Sized> From<ArcBorrow<'_, T>> for Arc<T> { 419 fn from(b: ArcBorrow<'_, T>) -> Self { in from() [all …]
|
/openbmc/linux/rust/kernel/ |
H A D | sync.rs | 15 pub use arc::{Arc, ArcBorrow, UniqueArc};
|