8 releases (stable)

Uses old Rust 2015

1.1.3 Feb 23, 2017
1.1.2 Jan 30, 2017
1.1.1 Oct 3, 2015
1.0.2 Oct 3, 2015
0.0.1 Jan 22, 2015

#2537 in Data structures

MIT license

580KB
1K SLoC

JavaScript 840 SLoC // 0.1% comments Rust 403 SLoC

Contains (WOFF font, 120KB) doc/Heuristica-Italic.woff, (WOFF font, 90KB) doc/FiraSans-Medium.woff, (WOFF font, 92KB) doc/FiraSans-Regular.woff, (WOFF font, 56KB) doc/SourceCodePro-Regular.woff, (WOFF font, 56KB) doc/SourceCodePro-Semibold.woff, (WOFF font, 49KB) doc/SourceSerifPro-Bold.woff and 1 more.

doubly

Doubly-linked lists in Rust

Usage

extern crate doubly;

use doubly::DoublyLinkedList;

fn main() {
    let my_list: DoublyLinkedList<i32> = DoublyLinkedList::new_empty();

    for k in 1..999999 {
        my_list.push_back(k);
    }

    my_list[7] = 85;

    for k in my_list.iter().take(10) {
        println!("{}", k);
    }
}

No runtime deps