Crate oppai_rs

Source
Expand description

Provides a safe wrapper for oppai-ng.

§Example

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§

  • The mods available to osu!
  • The main oppai struct, which is a thin wrapper that provides safe API to the linked ezpp_* functions.

Enums§

  • Represents the accuracy input.
  • Combo can be an FC or a non-FC with max combo and # of misses.
  • A generic error.
  • Available modes for osu!

Type Aliases§