rampart

Crates.iorampart
lib.rsrampart
version0.1.1
sourcesrc
created_at2022-04-20 10:02:50.981401
updated_at2022-04-20 11:42:09.940298
descriptionRampart determines how intervals relate to each other.
homepage
repositoryhttps://github.com/gtnao0219/rust-rampart
max_upload_size
id570898
size11,720
naotaka nakane (gtnao0219)

documentation

README

rust-rampart

Rust implementation of the Haskell Rampart library by Taylor Fausak.

Usage

Add this to your Cargo.toml:

[dependencies]
rampart = "0.1.1"

Examples

let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b); 
# Relation::Meets

Commit count: 8

cargo fmt