sf2g 0.4.0

Minimal Rust binding for SFML2 Graphics submodule
Documentation
1
2
3
4
/// Sets up working directory so the example works no matter what directory it's run from
fn example_ensure_right_working_dir() {
    std::env::set_current_dir(concat!(env!("CARGO_MANIFEST_DIR"), "/examples/resources")).unwrap();
}