[go: up one dir, main page]

winit 0.6.3

Cross-platform window creation library.
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate winit;

// A part of the API requirement for `EventsLoop` is that it is `Send` + `Sync`.
//
// This short test will only compile if the `EventsLoop` is `Send` + `Sync`. 
#[test]
fn send_sync() {
    fn check_send_sync<T: Send + Sync>() {}
    check_send_sync::<winit::EventsLoop>();
}