[−][src]Crate oppai_rs
Provides a safe wrapper for oppai-ng
.
Example
ⓘThis example is not tested
extern crate oppai_rs; use oppai_rs::*; use std::path::Path; let map = { Oppai::new(Path::new("path/to/map")) .mods(Mods::HD | Mods::DT)? .combo(Combo::PERFECT)? .accuracy(100.0) }.expect("OK!"); let pp = map.pp(); let stars = map.stars();
Structs
Mods | The mods available to osu! |
Oppai | The main oppai struct, which is a thin wrapper that provides safe API to the linked ezpp_* functions. |
Enums
Combo | Combo can be an FC or a non-FC with max combo and # of misses. |
Error | A generic error. |
Mode | Available modes for osu! |
Type Definitions
Result | The result type. |