Searched defs:ARef (Results 1 – 1 of 1) sorted by relevance
464 pub struct ARef<T: AlwaysRefCounted> { struct469 // SAFETY: It is safe to send `ARef<T>` to another thread when the underlying `T` is `Sync` because argument473 unsafe impl<T: AlwaysRefCounted + Sync + Send> Send for ARef<T> {} implementation480 unsafe impl<T: AlwaysRefCounted + Sync + Send> Sync for ARef<T> {} implementation482 impl<T: AlwaysRefCounted> ARef<T> { impl534 impl<T: AlwaysRefCounted> Clone for ARef<T> { implementation542 impl<T: AlwaysRefCounted> Deref for ARef<T> { implementation551 impl<T: AlwaysRefCounted> From<&T> for ARef<T> { implementation559 impl<T: AlwaysRefCounted> Drop for ARef<T> { implementation