Expand description
Read and write Beat Saber maps with Rust.
use beat_saber_map::BeatSaberMap;
let map = BeatSaberMap::from_dir("sample").unwrap();
assert_eq!(map.info.version, "4.0.0");
assert_eq!(map.info.song.title, "Magic");
assert_eq!(map.info.environment_names.first().unwrap(), "WeaveEnvironment");
Re-exports§
Modules§
- audio
- Contains types related to
BPMInfo.bat
files. - beatmap
- Contains types related to beatmap files.
- info
- Contains types related to
Info.bat
files.
Structs§
- Beat
Saber Map - A structural representation of a Beat Saber map folder.
Enums§
- Error
- Any error that may occur from a function originating in this library.
Type Aliases§
- Beats
- This type represents the beats of a song as a measurement of time.