Introduce SystemTime to Event in iced_sentinel

This commit is contained in:
Héctor Ramón Jiménez 2024-02-28 16:06:55 +01:00
parent 8591e5a148
commit 3d90665f9d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 74 additions and 28 deletions

View file

@ -1,4 +1,4 @@
use crate::core::time::Duration;
use crate::core::time::{Duration, SystemTime};
use crate::core::window;
use serde::{Deserialize, Serialize};
@ -8,6 +8,7 @@ use serde::{Deserialize, Serialize};
)]
pub struct Timing {
pub stage: Stage,
pub start: SystemTime,
pub duration: Duration,
}