We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c91a478 + e05ce05 commit 2c3dae0Copy full SHA for 2c3dae0
uefi/src/data_types/mod.rs
@@ -8,7 +8,7 @@ use core::ptr::NonNull;
8
/// Opaque handle to an UEFI entity (protocol, image...), guaranteed to be non-null.
9
///
10
/// If you need to have a nullable handle (for a custom UEFI FFI for example) use `Option<Handle>`.
11
-#[derive(Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq)]
12
#[repr(transparent)]
13
pub struct Handle(NonNull<c_void>);
14
0 commit comments