rusty_mos::utils

Module linked_list

Source
Expand description

Link List implemented with Rust, which is similar to the kernel queue of the mos / Linux

The LinkList is a simple-linked-list, while the TailLinkList is a tail-linked-list.

The linking-filed in LinkNode struct contains two raw pointers:

  • next: pointing to the next LinkNode
  • prev: pointing to the previous LinkNode’s next field

Structs§