Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1182dcb

Browse files
committedJul 13, 2024
uefi: Add standard derives for ConfigTableEntry
1 parent 831c04b commit 1182dcb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎uefi/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Added
44
- `uefi::system` is a new module that provides freestanding functions for
55
accessing fields of the global system table.
6+
- Add standard derives for `ConfigTableEntry`.
67

78
## Changed
89
- **Breaking:** `uefi::helpers::init` no longer takes an argument.

‎uefi/src/table/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::ffi::c_void;
1414
/// Contains a set of GUID / pointer for a vendor-specific table.
1515
///
1616
/// The UEFI standard guarantees each entry is unique.
17-
#[derive(Debug)]
17+
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
1818
#[repr(C)]
1919
pub struct ConfigTableEntry {
2020
/// The GUID identifying this table.

0 commit comments

Comments
 (0)
Please sign in to comment.