Skip to content

Commit

Permalink
Derive traits for EntryPoint and EntryPointFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
adavis628 authored and jcreekmore committed Apr 26, 2024
1 parent 341ba69 commit 9e4dfd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ pub mod bitfield;
pub mod structures;
pub use structures::*;

#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
enum EntryPointFormat {
V2,
V3,
}

#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
pub enum EntryPoint {
V2(EntryPointV2),
V3(EntryPointV3),
Expand Down

0 comments on commit 9e4dfd5

Please sign in to comment.