#[repr(C)]pub struct ArcInner<T: ?Sized> { /* private fields */ }Expand description
The object allocated by an Arc
Implementations§
Source§impl<T> ArcInner<T>
impl<T> ArcInner<T>
Trait Implementations§
Source§impl<S: SliceDst + ?Sized> SliceDst for ArcInner<S>
§Safety
ArcInner<S> is implemented as an additional header before S, consisting of the reference count
impl<S: SliceDst + ?Sized> SliceDst for ArcInner<S>
§Safety
ArcInner<S> is implemented as an additional header before S, consisting of the reference count
impl<T: ?Sized + Sync + Send> Send for ArcInner<T>
impl<T: ?Sized + Sync + Send> Sync for ArcInner<T>
Auto Trait Implementations§
impl<T> !Freeze for ArcInner<T>
impl<T> RefUnwindSafe for ArcInner<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Unpin for ArcInner<T>
impl<T> UnwindSafe for ArcInner<T>where
T: UnwindSafe + ?Sized,
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