Crates.io | winvec |
lib.rs | winvec |
version | 0.2.0 |
source | src |
created_at | 2021-03-02 17:57:10.772629 |
updated_at | 2021-03-03 21:27:36.102146 |
description | Windowed Vector (TTL) Collection for Rust |
homepage | |
repository | https://github.com/ajmwagar/winvec-rs |
max_upload_size | |
id | 362806 |
size | 6,497 |
Windowed Vector (TTL) Collection for Rust
[dependencies]
winvec = "0.1"
fn main() {
let mut winvec = WinVec::with_duration(Duration::from_secs(5));
winvec.push("Hello!");
winvec.push("World!");
winvec.iter().for_each(|e| println!("{}", e));
}