sf2g 0.4.0

Minimal Rust binding for SFML2 Graphics submodule
Documentation
1
2
3
4
5
6
use crate::system::Time;

/// Make the current thread sleep for a given duration.
pub fn sleep(time: Time) {
    unsafe { crate::ffi::system::sfSleep(time.raw()) }
}