diff --git a/src/lib.rs b/src/lib.rs index 01c70a5..11987d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,6 +97,8 @@ unsafe impl HasRawWindowHandle for alloc::sync:: #[non_exhaustive] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum RawWindowHandle { + /// Not a valid raw handle + Invalid, /// A raw window handle for UIKit (Apple's non-macOS windowing library). /// /// ## Availability Hints @@ -232,6 +234,8 @@ unsafe impl HasRawDisplayHandle for alloc::sync #[non_exhaustive] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum RawDisplayHandle { + /// Not a valid raw handle + Invalid, /// A raw display handle for UIKit (Apple's non-macOS windowing library). /// /// ## Availability Hints