#[repr(C)]struct ArcInner<T: ?Sized> {
strong: AtomicUsize,
weak: AtomicUsize,
data: T,
}
Fields§
§strong: AtomicUsize
§weak: AtomicUsize
§data: T
Trait Implementations§
impl<T: ?Sized + Sync + Send> Send for ArcInner<T>
impl<T: ?Sized + Sync + Send> Sync for ArcInner<T>
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for ArcInner<T>where T: RefUnwindSafe,
impl<T: ?Sized> Unpin for ArcInner<T>where T: Unpin,
impl<T: ?Sized> UnwindSafe for ArcInner<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more