mirror of
https://github.com/storytold/winit.git
synced 2026-11-29 09:44:58 +01:00
Draft web platform structure
This commit is contained in:
1 parent
eea9530f38
commit
c5703eb00a
26 files changed
+1171
-153
No files matched your search
@@ -0,0 +1,12 @@
|
||||
use std::time::Duration;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct Timeout {}
|
||||
|
||||
impl Timeout {
|
||||
pub fn new<F>(f: F, duration: Duration) -> Timeout {
|
||||
Timeout {}
|
||||
}
|
||||
|
||||
pub fn clear(self) {}
|
||||
}
|
||||
Reference in new issue
Block a user