pub struct Arc<T: 'static> { /* private fields */ }
Expand description
A drop-in replacement for std::sync::Arc
.
Implementations§
Trait Implementations§
impl<T: 'static> StrongPtr for Arc<T>
Auto Trait Implementations§
impl<T> Freeze for Arc<T>
impl<T> RefUnwindSafe for Arc<T>where
T: RefUnwindSafe,
impl<T> !Send for Arc<T>
impl<T> !Sync for Arc<T>
impl<T> Unpin for Arc<T>where
T: Unpin,
impl<T> UnwindSafe for Arc<T>where
T: RefUnwindSafe + 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