pub struct NodeInner<T: Debug + Clone> {
pub next: Option<Node<T>>,
pub prev: Option<WeakNode<T>>,
pub child: Option<Node<T>>,
pub parent: Option<WeakNode<T>>,
pub list: Option<WeakList<T>>,
pub content: T,
}
Expand description
NodeInner contains pointers in both vertical and horizontal directions and a custom content field.
Fields§
§next: Option<Node<T>>
§prev: Option<WeakNode<T>>
§child: Option<Node<T>>
§parent: Option<WeakNode<T>>
§list: Option<WeakList<T>>
§content: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for NodeInner<T>where
T: Freeze,
impl<T> !RefUnwindSafe for NodeInner<T>
impl<T> !Send for NodeInner<T>
impl<T> !Sync for NodeInner<T>
impl<T> Unpin for NodeInner<T>where
T: Unpin,
impl<T> !UnwindSafe for NodeInner<T>
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