Searched defs:ARef (Results 1 – 1 of 1) sorted by relevance
435 pub struct ARef<T: AlwaysRefCounted> { struct440 // SAFETY: It is safe to send `ARef<T>` to another thread when the underlying `T` is `Sync` because argument444 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation451 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation453 impl<T: AlwaysRefCounted> ARef<T> { implementation505 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation513 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation522 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation530 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation