Crates.io | portion-rs |
lib.rs | portion-rs |
version | 0.3.1 |
source | src |
created_at | 2020-11-13 08:04:00.365014 |
updated_at | 2021-04-20 13:17:38.841468 |
description | A simple interval library inspired by Python's portion. |
homepage | https://github.com/Elinvynia/portion-rs |
repository | https://github.com/Elinvynia/portion-rs.git |
max_upload_size | |
id | 311873 |
size | 36,713 |
A simple interval library inspired by Python's portion
.
use portion_rs::Portion;
fn main() {
let a = Portion::closed(2, 3);
println!("{}", a);
}