Home
last modified time | relevance | path

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

/linux-6.14.4/rust/kernel/
Dtypes.rs435 pub struct ARef<T: AlwaysRefCounted> { struct
440 // SAFETY: It is safe to send `ARef<T>` to another thread when the underlying `T` is `Sync` because argument
444 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation
451 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation
453 impl<T: AlwaysRefCounted> ARef<T> { implementation
505 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation
513 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation
522 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation
530 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation