pub struct ArcDel<T>(pub Arc<Del<T>>);Available on crate feature
_test only.Expand description
A thread-safe reference-counting pointer, but with a custom deleter.
Tuple Fields§
§0: Arc<Del<T>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ArcDel<T>
impl<T> !RefUnwindSafe for ArcDel<T>
impl<T> Send for ArcDel<T>
impl<T> Sync for ArcDel<T>
impl<T> Unpin for ArcDel<T>
impl<T> !UnwindSafe for ArcDel<T>
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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