Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dtypes.rs464 pub struct ARef<T: AlwaysRefCounted> { struct
469 // SAFETY: It is safe to send `ARef<T>` to another thread when the underlying `T` is `Sync` because argument
473 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation
480 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation
482 impl<T: AlwaysRefCounted> ARef<T> { impl
534 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation
542 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation
551 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation
559 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation