diff options
author | 2022-07-26 16:46:12 -0300 | |
---|---|---|
committer | 2023-01-09 11:27:04 -0800 | |
commit | 35331d0a41a53b8ff5c642b8274c7377ae6c6182 (patch) | |
tree | 522f9cded3072b64b1127fe9ad572c3f0224cecc /native/src/window | |
parent | 3d901d5f1f8e496651a6f9881fec92bc8998d910 (diff) | |
download | iced-35331d0a41a53b8ff5c642b8274c7377ae6c6182.tar.gz iced-35331d0a41a53b8ff5c642b8274c7377ae6c6182.tar.bz2 iced-35331d0a41a53b8ff5c642b8274c7377ae6c6182.zip |
Allow closing the window from user code
Diffstat (limited to 'native/src/window')
-rw-r--r-- | native/src/window/id.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/window/id.rs b/native/src/window/id.rs index 0ba355af..059cf4e7 100644 --- a/native/src/window/id.rs +++ b/native/src/window/id.rs @@ -1,7 +1,7 @@ use std::collections::hash_map::DefaultHasher; use std::hash::{Hash, Hasher}; -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] /// TODO(derezzedex) pub struct Id(u64); |