struct Node<T> {
data: T,
next: Mutex<*mut Node<T>>,
}
Fields§
§data: T
§next: Mutex<*mut Node<T>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Node<T>
impl<T> RefUnwindSafe for Node<T>where
T: RefUnwindSafe,
impl<T> !Send for Node<T>
impl<T> !Sync for Node<T>
impl<T> Unpin for Node<T>where
T: Unpin,
impl<T> UnwindSafe for Node<T>where
T: 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