Skip to content

Commit

Permalink
Generate docs for eums
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Aug 15, 2024
1 parent fbdaa58 commit ee573bb
Show file tree
Hide file tree
Showing 2 changed files with 232 additions and 0 deletions.
1 change: 1 addition & 0 deletions gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ fn write_enums(interface: &Interface) -> Vec<TokenStream> {
}

enums.push(quote! {
#(#docs)*
#[repr(u32)]
#[non_exhaustive]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
Expand Down
Loading

0 comments on commit ee573bb

Please sign in to comment.