dyn_list 0.0.0

A linked list that can hold dynamically sized values in its nodes.
Documentation
  • Coverage
  • 87.23%
    41 out of 47 items documented7 out of 40 items with examples
  • Size
  • Source code size: 107.32 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.36 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tomBoddaert

DynList

A linked list that can have dynamically sized types in their nodes.

use core::fmt::Debug;
use dyn_list::DynList;

let mut list = DynList::<dyn Debug>::new();

list.push_back_unsize("Hello, World");
list.push_back_unsize(0);
list.push_back_unsize([1, 2, 3, 4]);

println!("{list:?}");

This crate currently only works on the nightly channel.

TODO

This library is still in development and breaking changes may occur.

  • Comment unsafe blocks.
  • Add tests.

License

DynList is dual-licensed under either the Apache License Version 2.0 or MIT license at your option.