Ben Chuanlong Du's Blog

It is never too late to learn.

Linked List in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The std library of Rust has an implementation of linked list , however, it is not useful as it does not give users the flexibility of manipulating raw pointers (which is the essense of linked list).

Learn Rust With Entirely Too Many Linked Lists

Rust data structures with circular references

Self Referential Structs in Rust

Proper way to create self referential structs (with or without Pin)

Comments