pub struct LinkedListItem<T> {
pub index: LinkedListIndex,
pub value: T,
pub next_index: Option<LinkedListIndex>,
pub prev_index: Option<LinkedListIndex>,
}
Fields§
§index: LinkedListIndex
The index of the item in the list.
value: T
The value of the item.
next_index: Option<LinkedListIndex>
The index of the next item in the list.
prev_index: Option<LinkedListIndex>
The index of the previous item in the list.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LinkedListItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for LinkedListItem<T>where
T: RefUnwindSafe,
impl<T> Send for LinkedListItem<T>where
T: Send,
impl<T> Sync for LinkedListItem<T>where
T: Sync,
impl<T> Unpin for LinkedListItem<T>where
T: Unpin,
impl<T> UnwindSafe for LinkedListItem<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