pub struct ArcAnchor<T>(pub Arc<T>);
Expand description
Wrap an Arc<T>
to opt-in to anchor emission for that field.
Tuple Fields§
§0: Arc<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ArcAnchor<T>
impl<T> RefUnwindSafe for ArcAnchor<T>where
T: RefUnwindSafe,
impl<T> Send for ArcAnchor<T>
impl<T> Sync for ArcAnchor<T>
impl<T> Unpin for ArcAnchor<T>
impl<T> UnwindSafe for ArcAnchor<T>where
T: RefUnwindSafe,
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