Skip to content

Commit

Permalink
WindowID is serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazariglez committed Feb 19, 2024
1 parent 86ff5ea commit 792111d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/notan_core/src/window.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use raw_window_handle::{HasDisplayHandle, HasWindowHandle};

#[derive(Copy, Clone, Hash, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct WindowId(u64);

impl From<u64> for WindowId {
Expand Down

0 comments on commit 792111d

Please sign in to comment.