Skip to content

Commit f9e3bea

Browse files
authored
Merge pull request #866 from nicholasbishop/bishop-event-flags-derive
uefi-raw: Add common derives to `EventType`
2 parents 926dce7 + b4f076e commit f9e3bea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uefi-raw/src/table/boot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ pub struct BootServices {
205205
bitflags! {
206206
/// Flags describing the type of an UEFI event and its attributes.
207207
#[repr(transparent)]
208+
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]
208209
pub struct EventType: u32 {
209210
/// The event is a timer event and may be passed to `BootServices::set_timer()`
210211
/// Note that timers only function during boot services time.

0 commit comments

Comments
 (0)