winvec

Crates.iowinvec
lib.rswinvec
version0.2.0
sourcesrc
created_at2021-03-02 17:57:10.772629
updated_at2021-03-03 21:27:36.102146
descriptionWindowed Vector (TTL) Collection for Rust
homepage
repositoryhttps://github.com/ajmwagar/winvec-rs
max_upload_size
id362806
size6,497
Avery Wagar (ajmwagar)

documentation

README

winvec-rs

Windowed Vector (TTL) Collection for Rust

Usage

[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));
}
Commit count: 7

cargo fmt