Crates.io | dyn_list |
lib.rs | dyn_list |
version | |
source | src |
created_at | 2024-12-13 00:14:21.529978 |
updated_at | 2024-12-13 00:14:21.529978 |
description | A linked list that can hold dynamically sized values in its nodes. |
homepage | https://github.com/tomBoddaert/dyn_list |
repository | https://github.com/tomBoddaert/dyn_list |
max_upload_size | |
id | 1481766 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
This library is still in development and breaking changes may occur.
unsafe
blocks.DynList
is dual-licensed under either the Apache License Version 2.0 or MIT license at your option.