Home
last modified time | relevance | path

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

/rust/kernel/sync/
A Daref.rs53 pub struct ARef<T: AlwaysRefCounted> { struct
58 // SAFETY: It is safe to send `ARef<T>` to another thread when the underlying `T` is `Sync` because argument
62 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation
69 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation
71 impl<T: AlwaysRefCounted> ARef<T> { impls
123 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation
131 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation
140 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation
148 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation

Completed in 3 milliseconds