Crate qua_format
source ·Expand description
Parse .qua files into structs
The .qua file format uses the YAML format, so serde_yaml is used for parsing.
Examples
use qua_format::Qua;
use std::fs::File;
let path = "123.qua";
let mut qua = Qua::from_file(path).expect("Could not parse qua file");
qua.title = "Never Gonna Give You Up".to_string();
let new_file = File::create("test.qua").expect("Could not create new file");
qua.to_writer(new_file).expect("Could not write to file");
Structs
- Custom audio samples that can be assigned to different hit objects
- Editor layers to separate notes into different layers.
- A note to be played in-game
- Key sounds that are played for a specific note with a given volume
- Represents the .qua file format
- A moment in time where the scroll velocity changes
- Sound effect played at a specific moment in time
- A moment in time where the BPM of a song changes
Enums
- Game mode of the map
- Error while parsing a qua file
- Time signature of the song