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 26dac50 commit df5d6d1
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::{HasRawDisplayHandle, HasRawWindowHandle};

Check failure on line 1 in crates/notan_core/src/window.rs

View workflow job for this annotation

GitHub Actions / Format + clippy + check + test

use of deprecated trait `raw_window_handle::HasRawDisplayHandle`: Use `HasDisplayHandle` instead

Check failure on line 1 in crates/notan_core/src/window.rs

View workflow job for this annotation

GitHub Actions / Format + clippy + check + test

use of deprecated trait `raw_window_handle::HasRawWindowHandle`: Use `HasWindowHandle` instead

Check failure on line 1 in crates/notan_core/src/window.rs

View workflow job for this annotation

GitHub Actions / Format + clippy + check + test

use of deprecated trait `raw_window_handle::HasRawDisplayHandle`: Use `HasDisplayHandle` instead

Check failure on line 1 in crates/notan_core/src/window.rs

View workflow job for this annotation

GitHub Actions / Format + clippy + check + test

use of deprecated trait `raw_window_handle::HasRawWindowHandle`: Use `HasWindowHandle` instead

#[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 df5d6d1

Please sign in to comment.