onigiri

onigiri

onigiri is the tool of handling chars in Rust. The japanese name of rice ball is "Onigiri". In my image, a grain of rice is char. And what collected them is chars. And the seasoning of it is each structure of onigiri::tools.

Usage

``` extern crate onigiri; use onigiri::tools;

fn main() { let testtext = "-123 456".tostring(); let newvvchar = tools::createvvchar(&test_text);

let new_ni32 = tools::Ni32::new(&new_vvchar[0]);
let new_ni32_2 = tools::Ni32::new(&new_vvchar[1]);

let addition = new_ni32.attr + new_ni32_2.attr;
assert_eq!(addition, 333_i32);

} ```