Struct alloc::collections::linked_list::Node
source · struct Node<T> {
next: Option<NonNull<Node<T>>>,
prev: Option<NonNull<Node<T>>>,
element: T,
}
Fields§
§next: Option<NonNull<Node<T>>>
§prev: Option<NonNull<Node<T>>>
§element: T
Implementations§
Auto Trait Implementations§
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 + 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