pub struct Link<N: ?Sized> {
pub note: N,
/* private fields */
}Expand description
A wrapper type to augment objects that may be notified into intrusive links that can be stored in intrusive collections.
Fields§
§note: NThe object to be notified.
Implementations§
Trait Implementations§
Source§impl Debug for Link<dyn Subscriber>
impl Debug for Link<dyn Subscriber>
Source§impl<N: ?Sized + Subscriber> Subscriber for Link<N>
impl<N: ?Sized + Subscriber> Subscriber for Link<N>
impl<'pin, N: ?Sized> Unpin for Link<N>where
PinnedFieldsOf<__Link<'pin, N>>: Unpin,
Auto Trait Implementations§
impl<N> !Freeze for Link<N>
impl<N> !RefUnwindSafe for Link<N>
impl<N> !Send for Link<N>
impl<N> !Sync for Link<N>
impl<N> !UnwindSafe for Link<N>
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