portion-rs

Crates.ioportion-rs
lib.rsportion-rs
version0.3.1
sourcesrc
created_at2020-11-13 08:04:00.365014
updated_at2021-04-20 13:17:38.841468
descriptionA simple interval library inspired by Python's portion.
homepagehttps://github.com/Elinvynia/portion-rs
repositoryhttps://github.com/Elinvynia/portion-rs.git
max_upload_size
id311873
size36,713
ChloƩ Monette (Elinvynia)

documentation

https://docs.rs/portion-rs

README

ci-badge docs-badge crate-version

portion-rs

A simple interval library inspired by Python's portion.

Sample Usage

use portion_rs::Portion;

fn main() {
    let a = Portion::closed(2, 3);
    println!("{}", a);
}
Commit count: 22

cargo fmt